Quartz Batch job error triggering second batch job while first job still 
executing
----------------------------------------------------------------------------------

                 Key: MIFOS-4352
                 URL: http://mifosforge.jira.com/browse/MIFOS-4352
             Project: mifos
          Issue Type: Bug
          Components: Batch jobs
         Environment: tested with ENDA database
            Reporter: jbrewster
            Priority: Major


Triggering subsequent batch jobs while previously triggered batch jobs are 
still executing resulted in user being dropped to login page with red text 
error "error: batch jobs" on UI.

Repro steps:
1. start Mifos with ENDA data (assume just need a large data base to require 
length on batch job execution
2. trigger first 3 batch jobs on batch job page
3. while those are still executing, trigger next 3 batch jobs

See error displayed on login page

>From mifos.log (not clear this is related error):

INFO, org.mifos.framework.ApplicationInitializer, ?, ? , ?, No mysql timer 
cancellation required, 19 Dec 2010 21:21:44
java.lang.NullPointerException
        at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
        at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)
        at java.lang.reflect.Field.get(Unknown Source)
        at 
org.mifos.framework.ApplicationInitializer.cancelMySQLStatement(ApplicationInitializer.java:416)
        at 
org.mifos.framework.ApplicationInitializer.contextDestroyed(ApplicationInitializer.java:378)
        at 
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
        at 
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
        at 
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
        at 
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
        at 
org.apache.catalina.core.StandardService.stop(StandardService.java:587)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
        at 
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to