Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JMSQueueAppender causing TwoPhaseCommit exceptions

Status
Not open for further replies.

CoderKent

Programmer
Dec 6, 2006
2
US
I started using a JMSQueueAppender() and I'm now getting a jdbc connection exception stating I need to enable twophasecommit in my ejb's where we have trasaction support enabled. This is coming from having a JMS connection and a JDBC participate in the same trasaction. I can suspend the transaction and then perform the jms stuff, but seems like a very bad way to approach this issue. Any suggestions? Anybody seen this before?

Thanks!
 
Ok, I think I have solved my problem. I was using
<param name="queueConnectionFactoryBindingName" value="javax.jms.QueueConnectionFactory"/>
I created my own queueconnectionfactory and its working fine now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top