Hi,
I was trying to use the solution posted by Joram Barrez for integrating JobExecutor with
Spring
http://www.jorambarrez.be/blog/2008/08/26/jbpm-job-executor-for-spring/, but when I
run the server, I am getting the following error:
2008-10-09 16:06:38,627 [JbpmJobExecutor:192.168.100.132:1] ERROR
org.jbpm.job.executor.JobExecutorThread - exception in job executor thread. waiting 10000
milliseconds
| java.lang.NullPointerException
| at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:110)
| at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58)
The relevant Spring configuration is:
<bean id="jbpmConfiguration"
class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean">
| <property name="sessionFactory" ref="sessionFactory" />
| <property name="configuration"
value="classpath:org/jbpm/default.jbpm.cfg.xml" />
|
| <property name="processDefinitionsResources">
| <list>
|
| </list>
| </property>
| </bean>
|
| <bean id="jbpmJobExecutorLoader"
class="JbpmJobExecutorLoader">
| <property name="jbpmConfiguration" ref="jbpmConfiguration"
/>
| </bean>
It seems that JobExecutor does not get the reference to the jbpmConfiguration, but I do
not know why.
Any help is appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181287#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...