[Mifos-developer] Illegal character in path

5 views
Skip to first unread message

Garry Blanco

unread,
May 27, 2008, 2:50:01 AM5/27/08
to mifos-d...@lists.sourceforge.net
Hi,
 
I am deploying the latest mifos version (revision: 13000), when I started mifos using tomcat manager I got this message
FAIL - Application at context path /mifos1 could not be started
Seems there's a problem in the path when I check the log file (see below). Can somebody help me with this.
 
Thanks,
 
Garry Blanco
IDEASoft - Philippines
 
---
 
May 27, 2008 2:48:19 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
May 27, 2008 2:48:19 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
May 27, 2008 10:00:08 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.mifos.framework.ApplicationInitializer
java.lang.Error: org.mifos.framework.exceptions.AppNotConfiguredException: Illegal character in path at index 16: file:/C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/deploymifosDB.properties
 at org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:105)
 at org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:53)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.mifos.framework.exceptions.AppNotConfiguredException: Illegal character in path at index 16: file:/C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/deploymifosDB.properties
 at org.mifos.framework.ApplicationInitializer.initializeHibernate(ApplicationInitializer.java:147)
 at org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:60)
 ... 25 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/deploymifosDB.properties
 at java.net.URI$Parser.fail(Unknown Source)
 at java.net.URI$Parser.checkChars(Unknown Source)
 at java.net.URI$Parser.parseHierarchical(Unknown Source)
 at java.net.URI$Parser.parse(Unknown Source)
 at java.net.URI.<init>(Unknown Source)
 at java.net.URL.toURI(Unknown Source)
 at org.mifos.framework.util.helpers.ResourceLoader.getURI(ResourceLoader.java:69)
 at org.mifos.framework.ApplicationInitializer.initializeHibernate(ApplicationInitializer.java:143)
 ... 26 more

Send instant messages to your online friends http://uk.messenger.yahoo.com

Chico Charlesworth

unread,
May 27, 2008, 4:07:48 AM5/27/08
to blanco...@yahoo.com, Developer

Hi Garry,

I'd say this issue is related to issue 1759 (https://mifos.dev.java.net/issues/show_bug.cgi?id=1759), which has been fixed since revision 13021.

Can you once again get the latest mifos version, and try again?

If you still encounter problems, please:
        - Send us an update, and will likely create a bug in the Mifos issue tracker.
        - Install Tomcat in a directory without spaces (e.g. C:\tomcat6.0), and try deploying mifos there.

Cheers
Chico



Garry Blanco <blanco...@yahoo.com>
Sent by: mifos-devel...@lists.sourceforge.net

05/27/2008 07:50 AM

Please respond to
Developer <mifos-d...@lists.sourceforge.net>

To
mifos-d...@lists.sourceforge.net
cc
Subject
[Mifos-developer] Illegal character in path


 Send instant messages to your online friends http://uk.messenger.yahoo.com -------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Garry Blanco

unread,
May 28, 2008, 4:56:01 AM5/28/08
to Chico Charlesworth, Developer
Hi,
 
I downloaded 13021 and it worked, although I have done some tweaking in the configuration before I can make it run.
 
I have the following issues to raise:
  1. 'Philippines' is not recognize in fields of locale/country and currency. - if I add it in the database will it solve the problem?
  2. When defining the 'Fees' and 'Savings' using the UI i got this message: "Page expired since the action is not permissible. Click on the tabs above to proceed."
  3. Using Tomcat Manager, I start the instance of Mifos but when my colleagues try to access it from their PC it won't work. So I shutdown Apache Tomcat Service and run the following command 'startup.bat -c mifos1' - it work, my colleagues can access it. Question: What should I do with Tomcat Manager so that the web app(s) that I start there are accessible from other workstation?
I just downloaded revision 13052, do you think it will resolve my #2 issue?

By the way thanks Chico.
 
Cheers,
 
Garry Blanco
IDEASoft - Philippines

Adam Monsen

unread,
May 28, 2008, 10:16:29 AM5/28/08
to mifos-d...@lists.sourceforge.net
On May 28, 1:56 am, Garry Blanco wrote:
> 1. 'Philippines' is not recognize in fields of locale/country and

> currency. - if I add it in the database will it solve the problem?

I believe more work is required. Please see:
http://mifos.org/developers/wiki/AddingANewLocale
(corrections/additions/etc. welcome!)

> 2. When defining the 'Fees' and 'Savings' using the UI i got this


> message: "Page expired since the action is not permissible. Click on
> the tabs above to proceed."

I usually see that message when my session expires (default 30min) and
I
try to continue where I left off.

--
Adam Monsen

Reply all
Reply to author
Forward
0 new messages