krishma.bansal wrote:
ok ! try using the following path for user transaction
java:comp/UserTransaction
Ok now I'm confused. I'm not using iBatis, just Hibernate.
I also tried to use: jta/usertransaction instead of javax/transaction/UserTransaction. But it didn't get me further, I got following exception:
JTATransaction TRAS0014I: The following exception was logged com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.ConfigurationException
I also tried java:comp/UserTransaction, but this also gave me an exception:
JTATransactio E net.sf.hibernate.transaction.JTATransaction TRAS0014I: The following exception was logged javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
Are you sure it is possible with JTA, without EJB's in an container-managed environment such as jboss, websphere, weblogic,...???