Results 1 to 1 of 1

Thread: JTA Suspension under WAS 7 (possible spring bug?)

  1. #1
    Join Date
    Dec 2008
    Posts
    1

    Default JTA Suspension under WAS 7 (possible spring bug?)

    Hi
    we have a problem using transaction suspension under ibm was 7.

    the problem is a TransactionSuspensionNotSupportedException thrown when a method annotated with @Transactional(propagation = Propagation.REQUIRED) calls a method in an injected class annotated with @Transactional(propagation = Propagation.REQUIRES_NEW).

    the message of the exception is "JtaTransactionManager needs a JTA TransactionManager for suspending a transaction: specify the 'transactionManager' or 'transactionManagerName' property".

    our classes are woven with spring aspects (no LTW and no proxies).

    if we change configuration using proxies (no woven classes) everything works fine even under was 7 and the transaction is suspended!

    i've attached a simple eclipse project with the configuration we are using (datasources references, transaction management etc.).

    if we run the same code (woven classes) under tomcat 6 using bitronix as transaction manager everything works fine.

    every kind of info about this problem is apreciated!
    thanks in advance.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •