与Ibm的交易错误是和春天

时间:2014-10-28 12:52:55

标签: java spring ibm-was

我收到以下错误:  com.ibm.wsspi.uow.UOWException:java.lang.VerifyError:com / ibm / websphere / uow / UOWSynchronizationRegistry.registerInterposedSynchronization。

我正在使用:

<bean id="transactionManager" class="org.springframework.transaction.jta.WebSphereUowTransactionManager" />

<properties>
        <property name="hibernate.transaction.manager_lookup_class"
            value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup" />
        <property name="hibernate.transaction.factory_class"
            value="org.hibernate.transaction.CMTTransactionFactory" />

</properties>

堆栈:

Caused by: com.ibm.wsspi.uow.UOWException: java.lang.VerifyError: com/ibm/websphere/uow/UOWSynchronizationRegistry.registerInterposedSynchronization(Ljavax/transaction/Synchronization;)V
    at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:1137)
    at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:630)
    at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:281)

1 个答案:

答案 0 :(得分:0)

现在正在运作。 我从包装中取出了以下罐子:

jta.jar e activemq-all