Atomikos Forum

Upgraded from Hibernate 3.6.10 to Hibernate 4.3.7

Hi

I recently upgraded from Hibernate 3.6.10.Final to Hibernate 4.3.7.Final and I seem get the below Exception and other types of Exceptions:

Caused by: java.lang.NoClassDefFoundError: com/atomikos/icatch/jta/hibernate3/TransactionManagerLookup

It is not clear from your website what changes are required. I have put the example project here :https://github.com/rajivj2/example2/ .

I also done the following:

1) Added:
"hibernate.transaction.jta.platform", com.example.transactionmanager.hibernate4only.AtomikosJtaPlatform // for Hibernate 4 only
"hibernate.transaction.factory_class", CMTTransactionFactory; // for Hibernate 4 only

2) Removed:
hibernate.transaction.manager_lookup_class", TransactionManagerLookup // for Hibernate 3

3) Removed:

<dependency>
        <groupId>com.atomikos</groupId>
        <artifactId>transactions-hibernate3</artifactId>
        <version>3.9.3</version>
    </dependency>

Can you please tell me what I am doing wrong? NotificationRouterIT.java contains the test where the problem is.
Rajiv Jain Send private email
Friday, November 07, 2014
 
 
It seems to work on Hibernate 3.6.10.
Rajiv Jain Send private email
Friday, November 07, 2014
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics