Nick's Tech Blog: java.lang.VerifyError: com/ibm/websphere/uow/UOWSynchronizationRegistry.registerInterposedSynchronization(Ljavax/transaction/Synchronization;)V

Pages

Thursday, June 9, 2011

java.lang.VerifyError: com/ibm/websphere/uow/UOWSynchronizationRegistry.registerInterposedSynchronization(Ljavax/transaction/Synchronization;)V

Problem

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.

4 comments:

  1. Thank's man, realy helpful!!!

    ReplyDelete
  2. Thanks Nick. This blog was very helpful to the TOPAZ team. JTA needs to be scoped as 'provided' on WAS7.

    You're still helping us even after leaving :)

    Cheers,
    Phil

    ReplyDelete
  3. Ha, very glad to hear Phil.

    Catch you round,
    Nick

    ReplyDelete
  4. Thank you. It helped a lot!

    ReplyDelete