Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic incompatible with javax.transaction.UserTransaction  RSS feed

Madhavi Subramaniam
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I've deployed two application in Websphere cluster. I'm using following properties in hibernate.cfg.xml file

i'm using hibernate version3 jar

I'm getting following error while session.beginTransaction

[1/3/12 17:58:13:184 IST] 00000077 SystemOut O 2012-01-03 17:58:13,183 ERROR [WebContainer : 2] IntegrationPartnerParamsDAO - update failed
java.lang.ClassCastException: incompatible with javax.transaction.UserTransaction
at org.hibernate.transaction.JTATransactionFactory.getUserTransaction(
at org.hibernate.transaction.JTATransactionFactory.createTransaction(
at org.hibernate.jdbc.JDBCContext.getTransaction(
at org.hibernate.impl.SessionImpl.getTransaction(
at org.hibernate.impl.SessionImpl.beginTransaction(
at com.exterro.fusion.edrm.integration.dao.IntegrationPartnerParamsDAO.update(
at com.exterro.fusion.edrm.integration.dao.IntegrationPartnerParamsDAO.updateParamsValue(
at com.exterro.fusion.edrm.integration.web.servlet.helper.EDRMIntegrationAdapterServletHelper.updateParams(
at com.exterro.fusion.edrm.integration.web.servlet.helper.EDRMIntegrationAdapterServletHelper.saveParamsData(
at com.exterro.fusion.edrm.integration.web.servlet.helper.EDRMIntegrationAdapterServletHelper.updateClientParams(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.exterro.fusion.edrm.integration.web.servlet.EDRMIntegrationAdapterServlet.doRequest(
at com.exterro.fusion.edrm.integration.web.servlet.IntegrationBaseWeb.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(

please anyone guide me to resolve this issue.

But i deployed this application in Jboss. It is working fine. I'm facing this problem when install it on websphere.


Vijitha Kumara
Saloon Keeper
Posts: 3997
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.ClassCastException: incompatible with javax.transaction.UserTransaction

Looks like an incompatibility between the provider and the API. Have you checked the server's documentation about the compatibility (i.e.: What implements the javax.transaction.UserTransaction)?
Philip St-Pierre
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Madhavi,

Did you find a solution to your problem? I have the same issue.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!