jBPM5 Console in Tomcat 6

Leave a comment

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.

Step 1:

http://community.jboss.org/thread/160572

Step 2:

http://docs.codehaus.org/display/BTM/Tomcat2x

Step 3:

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: