[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3109) JTATransaction : Could not find UserTransaction in JNDI

Yves Galante (JIRA) noreply at atlassian.com
Fri Feb 15 06:16:33 EST 2008


JTATransaction : Could not find UserTransaction in JNDI 
--------------------------------------------------------

                 Key: HHH-3109
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3109
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.6
         Environment: Webphere 5.1 - Oracle 9i - JDK 1.4
            Reporter: Yves Galante


After update hibernate core from 3.2.5 to 3.2.6, I have this exception.

[2/15/08 11:59:09:113 CET] 6f71f29b JTATransactio E org.hibernate.transaction.JTATransaction  Could not find UserTransaction in JNDI
[2/15/08 11:59:09:113 CET] 6f71f29b JTATransactio E org.hibernate.transaction.JTATransaction  TRAS0014I: The following exception was logged javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
	at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1023)
	at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:934)
	at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1261)
	at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:196)
	at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:137)
	at javax.naming.InitialContext.lookup(InitialContext.java:361)
	at org.hibernate.transaction.JTATransaction.<init>(JTATransaction.java:60)
	at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:57)
	at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:172)
	at org.hibernate.impl.SessionImpl.checkTransactionSynchStatus(SessionImpl.java:1867)
	at org.hibernate.impl.SessionImpl.setFlushMode(SessionImpl.java:1287)


My hibernate conf :


-- 
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