javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".

Hibernate JIRA | Yves Galante | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0
  3. 0

    WAS 6.1 ND Custom registry ConfigurationException on NameNotFoundException for comp/UserTransaction

    Google Groups | 1 decade ago | hbartolin
    javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate Community • View topic - Websphere 6, Hibernate 3, DB2 8.2, Datasource Connection Iss

    hibernate.org | 8 months ago
    javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      Name "comp/UserTransaction" not found in context "java:".

      at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal()
    2. WebSphere
      javaURLContextRoot.lookup
      1. com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1023)
      2. com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:934)
      3. com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1261)
      4. com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:196)
      5. com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:137)
      5 frames
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:361)
      1 frame
    4. Hibernate
      JDBCContext.registerSynchronizationIfPossible
      1. org.hibernate.transaction.JTATransaction.<init>(JTATransaction.java:60)
      2. org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:57)
      3. org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:172)
      3 frames
    5. Hibernate
      SessionImpl.setFlushMode
      1. org.hibernate.impl.SessionImpl.checkTransactionSynchStatus(SessionImpl.java:1867)
      2. org.hibernate.impl.SessionImpl.setFlushMode(SessionImpl.java:1287)
      2 frames