[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2157) could not register synchronization with JTA TransactionManager

bechris (JIRA) noreply at atlassian.com
Tue Oct 17 23:48:25 EDT 2006


could not register synchronization with JTA TransactionManager
--------------------------------------------------------------

         Key: HHH-2157
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2157
     Project: Hibernate3
        Type: Bug

  Components: core  
    Versions: 3.2.0.ga    
 Environment: IBM RAD6
Oracle 10g
    Reporter: bechris


The exception comes from line 94 of org.hibernate.transaction.JTATransactionFactory. I found that it cannot get the status from jdbcContext.getFactory().getTransactionManager().getStatus().

Exception showed as below:
[10/18/06 11:10:06:937 CST] 00000042 SystemErr     R org.hibernate.TransactionException: could not register synchronization with JTA TransactionManager
	at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java)
	at org.hibernate.jdbc.JDBCContext.<init>(JDBCContext.java:76)
	at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:213)
	at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:525)
	at org.hibernate.context.JTASessionContext.buildOrObtainSession(JTASessionContext.java:114)
	at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java)
	at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542)

-- 
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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list