[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

bpmn2 user do-not-reply at jboss.com
Thu Jan 6 01:43:45 EST 2011


bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/579197#579197

--------------------------------------------------------------
'We need to tweak persistence.xml I belive to let Tomcat locate   datasource and also persistemce.xml uses "org.hibernate.transaction.*JBossTransactionManagerLookup*" may be this lookup class should be changed.
Let me know if you have any fix/suggestion for this.'

Which transaction manager you are using?
For example, if you are using Bitronix, you the set the value as follows in persistence.xml :
<property name="hibernate.transaction.manager_lookup_class"  value="org.hibernate.transaction.BTMTransactionManagerLookup" />

You also need to add the following libraries in Tomcat/lib if you are using Bitronix:
e.g,
btm-tomcat55-lifecycle-1.3.3.jar
slf4j-api-1.5.2.jar
slf4j-jdk14-1.5.2.jar
btm-1.3.1.jar
geronimo-jta_1.0.1B_spec-1.0.1.jar

' I tried adding "context.xml" in META-INF with  resource entry but that didn't help.'
This is not required if you define the Global datasource at the Tomcat level as all the web applications can access the JNDI.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/579197#579197]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110106/0a6dcc58/attachment.html 


More information about the jboss-user mailing list