-
Mar 25th, 2009, 10:01 AM
#1
SimpleWebServiceInboundGateway JTA transactions
I'm using org.springframework.transaction.jta.WebSphereUowTr ansactionManager successfully from the JMS side of my application setting the poller to be transactional. However, when using SimpleWebServiceInboundGateway I keep getting a "One or more local transaction resources were rolled back during the cleanup of a LocalTransactionContainment" message.
I think this is because a global transaction hasnt been started, how can I start a transaction from SimpleWebServiceInboundGateway??
-
Mar 26th, 2009, 08:34 AM
#2
Sorted! This was nothing to do with SimpleWebServiceInboundGateway and everything to do with my WAS setup.
For anyone that's interested I needed to set my JDBC connection to be shared as a resource reference rather than using a direct JNDI lookup. The following article is very useful http://www.ibm.com/developerworks/we...09_alcott.html
I LOVE Spring, I HATE WAS!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules