[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3109?page=c...
]
Felix von Delius commented on HHH-3109:
---------------------------------------
We have the same problem here in two different configurations:
1. WebSphere 6 inside the container
2. local (development) using JOTM as Transaction Manager
both using
transaction.factory_class=JTATransactionFactory
for transaction synchronization.
Using a patched version of Hibernate 3.2.6 where the "fix" of HHH-1956 is undone
(commenting line 162-164 of JDBCContext), this problem disappears.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira