User development, A new message was posted in the thread "Trouble with jBPM 4 job executor and context reloading.":
http://community.jboss.org/message/529756#529756 Author : Caine Lai Profile : http://community.jboss.org/people/unsavory Message: -------------------------------------------------------------- In my development environment I have resorted to disabling the jBPM 4.3 job executor because when I publish any changes to my jBoss server which results in a context reload, the job executor thread doesn't die off. The old thread continues to run and I get the following exception: 14:36:44,981 SEVERE [org.jbpm.pvm.internal.jobexecutor.DispatcherThread] exception in job executor thread. waiting 5000 milliseconds: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171) at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1101) at org.jbpm.pvm.internal.env.SpringContext.get(SpringContext.java:59) at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139) at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130) at org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:201) at org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:190) at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.resolveTransactionManager(SpringTransactionInterceptor.java:89) at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:52) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:126) at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67) Does anyone have any ideas how to get around this? I am using the jBoss server adapter within eclipse. -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/529756#529756
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
