September 17, 2011 by huionn
jBPM5 console comes with 2 WAR files for deployment. I thought it should be straightforward to deploy them in Tomcat6.
But it is more complicated than I thought.
I got exception
Caused by: java.lang.NullPointerException at org.drools.persistence.SingleSessionCommandService.(SingleSessionCommandService.java:138) ... 45 more
This exception is caused by not adding this line in persistence.xml for JTA transaction:
<property name=”hibernate.transaction.manager_lookup_class” value=”org.hibernate.transaction.BTMTransactionManagerLookup” />
UPDATE: A very detailed step-by-step guide by bpmn2user can be found at http://community.jboss.org/people/bpmn2user/blog/2011/01/21/test.