Aug 3rd, 2010, 03:19 AM
JTA Suspension under WAS 7 (possible spring bug?)
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.