Problem
Received the following stacktrace from Websphere7.
Solution
Make sure you have the following transaction manager lookup class in your persistence.xml.
See: http://lockdog.wordpress.com/2009/09/07/6/ (May require Google translate)
Received the following stacktrace from Websphere7.
Caused by: org.hibernate.HibernateException: Could not obtain WebSphere TransactionManager
(Stack trace removed...)
Caused by: java.lang.ClassCastException: com.ibm.ws.tx.jta.TranManagerSet incompatible with javax.transaction.TransactionManager
Solution
Make sure you have the following transaction manager lookup class in your persistence.xml.
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup" />
See: http://lockdog.wordpress.com/2009/09/07/6/ (May require Google translate)
Thanks a lot. It saved my many days
ReplyDeleteRegards
Ashok