[jboss-user] [jBPM] - Re: No JTA TransactionManager found using Jpbm5 in a Jee container
Marco Rietveld
do-not-reply at jboss.com
Tue Jan 10 17:37:00 EST 2012
Marco Rietveld [http://community.jboss.org/people/marco.rietveld] created the discussion
"Re: No JTA TransactionManager found using Jpbm5 in a Jee container"
To view the discussion, visit: http://community.jboss.org/message/645801#645801
--------------------------------------------------------------
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/TransactionManager.html
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13941/weblogic/transaction/class-use/ClientTransactionManager.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 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://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 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
[http://community.jboss.org/message/645801#645801]
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/20120110/d5545f2d/attachment.html
More information about the jboss-user
mailing list