org.hibernate.TransactionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
  • Jersey - Tomcat 6 + Jersey + Weld (Seam 3)
    via by Unknown author,
    • org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java:161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProcessor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)

    Users with the same issue

    Unknown visitor1 times, last one,