Problem
Received the following stacktrace from Websphere7.
Solution
Remove the jta.jar from the dependencies in the war file.
Received the following stacktrace from Websphere7.
Caused by: java.lang.VerifyError: com/ibm/websphere/uow/UOWSynchronizationRegistry.registerInterposedSynchronization(Ljavax/transaction/Synchronization;)V
at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:355)
at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:1067)
... 97 more
Solution
Remove the jta.jar from the dependencies in the war file.
Thank's man, realy helpful!!!
ReplyDeleteThanks Nick. This blog was very helpful to the TOPAZ team. JTA needs to be scoped as 'provided' on WAS7.
ReplyDeleteYou're still helping us even after leaving :)
Cheers,
Phil
Ha, very glad to hear Phil.
ReplyDeleteCatch you round,
Nick
Thank you. It helped a lot!
ReplyDelete