JOTM and Hibernate 3.2.4 is failing
-----------------------------------
Key: HHH-2693
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2693
Project: Hibernate3
Issue Type: Bug
Affects Versions: 3.2.4
Environment: JOTM + Tomcat 5.5.23 + Hibernate 3.2.4
Reporter: 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira