Results 1 to 2 of 2

Thread: SimpleWebServiceInboundGateway JTA transactions

  1. #1
    Join Date
    Nov 2008
    Location
    Swansea, Wales
    Posts
    202

    Question 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. #2
    Join Date
    Nov 2008
    Location
    Swansea, Wales
    Posts
    202

    Smile

    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
  •