JBoss Community

Re: No JTA TransactionManager found using Jpbm5 in a Jee container

created by Marco Rietveld in jBPM - View the full discussion

You do need the "line below" specifying the transaction manager.

 

Unfortunately, I haven't worked with weblogic, but found the following pages (WebLogic 10.3 api):

 

http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13941/weblogic/transaction/class-use/TransactionManager.html

http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13941/weblogic/transaction/class-use/ClientTransactionManager.html

 

However, this page (http://www.ajaxlines.com/ajax/stuff/article/making_the_most_of_java_enum_example.php)

seems to imply that you can use the UserTransaction as the TransactionManager.. but I'd be a little surprised at that. It's worthy trying though.

 

Lastly, looking at the spring code seems to imply that using the TransactionHelper is the right way to go:

(Spring code: http://kickjava.com/src/org/springframework/transaction/jta/WebLogicJtaTransactionManager.java.htm)

 

http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13941/weblogic/transaction/ClientTxHelper.html#getTransactionManager%28%29

Reply to this message by going to Community

Start a new discussion in jBPM at Community