Hello, I've been looking around for a good open source bpm solution and I end up choosing jBPM. Now, I'm trying to integrate it with Spring, but I'm facing some troubles.
Here is the jbpm minimal configuration that I'm trying to use: | <process-engine-context> | <command-service> | <retry-interceptor /> | <environment-interceptor /> | <spring-transaction-interceptor /> | </command-service> | </process-engine-context> | | <transaction-context> | <transaction /> | <hibernate-session current="true" /> | </transaction-context> | , the spring configuration: | <bean id="jbpmConfiguration" class="org.jbpm.pvm.internal.cfg.SpringConfiguration"> | <constructor-arg value="com/psinova/jbpm.cfg.xml" /> | </bean> | | <bean id="processEngine" factory-bean="jbpmConfiguration" factory-method="buildProcessEngine" /> | <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /> | <bean id="executionService" factory-bean="processEngine" factory-method="getExecutionService" /> | and when spring is trying to initialize the first bean, a npe is thrown with this stack: | Caused by: java.lang.NullPointerException | at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177) | at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170) | at org.jbpm.pvm.internal.cfg.SpringConfiguration.buildProcessEngine(SpringConfiguration.java:81) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115) | I've also created a JIRA ticket for this issue: https://jira.jboss.org/jira/browse/JBPM-2646 Am I doing something wrong? Please advise! Kind regards, Alexandru. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265734#4265734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265734 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user