Hi Leah,
>From your log file (or whatever of it is in the mail), it looks like you've
>had this error reported at least three times (spaced by the clock, around
>08:42, 16:22, 16:46).
Perhaps these were times you re-started the server, possibly after one or more
configuration changes?
Also, what specific approval states did you wish changed? The untouched
configuration on my Mifos 1.3 server uses the following:
Process flow / optional state
Client pending approval state enabled: Yes
Group pending approval state enabled: Yes
Loan disbursed to loan officer state enabled: No
Loan pending approval state enabled: Yes
Savings pending approval state enabled: Yes
(visible within Mifos at Admin > Organizational settings)
Hint: between re-starts/re-installs, consider backing up the existing log, and
let Mifos create a fresh one.
Regards,
krishnan
--- On Thu, 30/7/09, Leah Morgan <[email protected]> wrote:
From: Leah Morgan <[email protected]>
Subject: Re: [Mifos-users] FW: Help with configuration?
To: "A good place to start for users or folks new to Mifos."
<[email protected]>
Date: Thursday, 30 July, 2009, 1:50 PM
Hi Ryan,
Thanks for your help. In response to your questions:
1. When we put the original configuration file in place, Mifos starts
successfully.
2. I removed the pending approvals before running the database - we started
from a fresh database (at least I think that's what we did - stopped tomcat,
dropped the database, then installed mifos again).
3. I've copied the log below. Is this what you're looking for? If I understand
it correctly, it looks like I need to change the pending approval part like you
mentioned. If I change the approvals back to default, should it work?
Thanks!
Leah
30-Apr-2009 08:42:50 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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:229)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:139)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at
org.apache.catalina.core.StandardContext.start(StandardContext..java:4429)
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:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
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:583)
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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.config.ProcessFlowRules.initClientPendingApprovalState(ProcessFlowRules.java:147)
at org.mifos.config.ProcessFlowRules.init(ProcessFlowRules.java:64)
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:199)
... 25 more
30-Apr-2009 08:42:54 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
30-Apr-2009 08:42:54 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
30-Apr-2009 16:17:53 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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:229)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:139)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at
org.apache.catalina.core.StandardContext.start(StandardContext..java:4429)
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:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
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:583)
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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.config.ProcessFlowRules.initClientPendingApprovalState(ProcessFlowRules.java:147)
at org.mifos.config.ProcessFlowRules.init(ProcessFlowRules.java:64)
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:199)
... 25 more
30-Apr-2009 16:17:57 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
30-Apr-2009 16:17:57 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
30-Apr-2009 16:22:01 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
30-Apr-2009 16:22:01 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
30-Apr-2009 16:46:49 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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:229)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:139)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at
org.apache.catalina.core.StandardContext.start(StandardContext..java:4429)
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:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
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:583)
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.application.configuration.exceptions.ConfigurationException: The
value for key ProcessFlow.ClientPendingApprovalStateEnabled in the file
applicationConfiguration.custom.properties must to be set to 1 because it was
set to 1 in the database, hence can't be set to to 0 in the custom
configuration file as this might invalidate existing data. Records for clients
in the 'pending approval' state may already exist. Also,
applicationConfiguration.default.properties must never be changed--make sure
this file is untouched.
at
org.mifos.config.ProcessFlowRules.initClientPendingApprovalState(ProcessFlowRules.java:147)
at org.mifos.config.ProcessFlowRules.init(ProcessFlowRules.java:64)
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:199)
... 25 more
30-Apr-2009 16:46:52 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
30-Apr-2009 16:46:52 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
30-Apr-2009 16:49:46 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
30-Apr-2009 16:49:46 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
30-Apr-2009 16:55:55 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
30-Apr-2009 16:55:55 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
On Thu, Jul 30, 2009 at 1:21 PM, Ryan Whitney <[email protected]>
wrote:
Hello Leah,
Forwarding this to the user¹s group as I figure more people can benefit from
troubleshooting this issue.
A few questions
1. When you remove the configuration file, does Mifos start successfully?
2. I noticed that you removed a lot of the pending approvals. As noted in
the file there remain some issues with these features. Did you turn these
on after running the database an initial time? Have you tried starting from
a database that's fresh?
3. Lastly, looking at some of the log files should help. If you look in the
directory where you started mifos, there should be a mifos log file. Look
at that and see if there is an error that corresponds to when you start
tomcat and post it here. You can also look in the logs directory of tomcat.
Let us know,
Ryan
--
Ryan Whitney
Mifos Technical Program Manager
[email protected]
Mifos - Technology that Empowers Microfinance (www.mifos.org)
------ Forwarded Message
From: Leah Morgan <[email protected]>
Date: Thu, 30 Jul 2009 09:33:41 +0000
To: <[email protected]>
Subject: Help with configuration?
Hi Ryan,
I spent some time working with mifos, only to realize that we needed to
reconfigure some of the settings - like the rounding decimal places, etc.
Our volunteer developer walked me through it over the phone, but I'm afraid
I messed up because mifos won't open when I use the configuration document I
edited (I get the "HTTP Status 404 - the requested resource () is not
available" message).
Our developer is now on vacation and I'm stuck. Is there any way you could
review the configuration document and see what I did wrong? I'd really
appreciate any help you can send my way!
Thanks so much.
Sincerely,
Leah
--
Leah Morgan
Program Manager
Chapter 58 Trust
US Mobile: +1 678 438 4059
Ghana Mobile: +233 (0)20 647 7785
Skype: leahmorgan
------ End of Forwarded Message
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users
--
Leah Morgan
Program Manager
Chapter 58 Trust
US Mobile: +1 678 438 4059
Ghana Mobile: +233 (0)20 647 7785
Skype: leahmorgan
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
-----Inline Attachment Follows-----
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users
See the Web's breaking stories, chosen by people like you. Check out
Yahoo! Buzz. http://in.buzz.yahoo.com/------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users