Announcement Announcement Module
Collapse
No announcement yet.
SimpleWebServiceInboundGateway JTA transactions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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??

  • #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!

    Comment

    Working...
    X