javax.naming.NameNotFoundException: Name jdbc is not bound in > this Context

nabble.com | 4 months ago
  1. 0

    Grails User (Old Archive) - Questions about JNDI/JDBC for Tomcat/Postgres/Grails (working off 1.3.0.BUILD-SNAPSHOT)

    nabble.com | 4 months ago
    javax.naming.NameNotFoundException: Name jdbc is not bound in > this Context
  2. 0

    Error con InvoicingDS - No se puede encontrar el datasource

    openxava | 4 years ago | aegiloru
    javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OX portlet on Liferay - not find datasource

    openxava | 8 years ago | icarrara
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
  5. 0

    I'm doing plugin development with jira-plugin-base version 15. Previously I was using 13, but required the server to be running 3.13.2 for various reasons. After switching to the new plugin-base version, I am finding the log files are being continually spammed with JNDI errors similar to the ones listed at the end. It appears the debug\tomcat5x\conf\server.xml file no longer specifies the <Resource jotm.timeout='60' factory='org.objectweb.jotm.UserTransactionFactory' name='UserTransaction' type='javax.transaction.UserTransaction' auth='Container'></Resource> line any more. It is quite important to get these fixed as the log-spamming is so great that I am finding it very difficult to use any of the debug output to help in finding problems. 2009-07-21 17:35:28,614 main WARN [core.entity.transaction.JNDIFactory] [JNDIFactory.getUserTransaction] Failed to find UserTransaction named java:comp/env/UserTransaction in JNDI. 2009-07-21 17:35:28,630 main WARN [core.entity.transaction.JNDIFactory] NamingException while finding UserTransaction named java:comp/env/UserTransaction in JNDI. javax.naming.NameNotFoundException: Name UserTransaction is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDIFactory.java:109) at org.ofbiz.core.entity.TransactionFactory.getUserTransaction(TransactionFactory.java:91) at org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:80) at org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:279) at org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:318) at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1024) at org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595) at org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:134) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:792) ....

    Atlassian JIRA | 7 years ago | Philip Peitsch
    javax.naming.NameNotFoundException: Name UserTransaction is not bound in this Context

  1. asdasd 2 times, last 3 months ago
  2. ruifung 13 times, last 3 months ago
  3. Kawada 8 times, last 6 months ago
  4. syntech16 1 times, last 8 months ago
18 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 jdbc is not bound in > this Context

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    SelectorContext.lookup
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:770)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:140)
    3. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
    4. org.apache.naming.NamingContext.lookup(NamingContext.java:140)
    5. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
    6. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
    7. org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
    7 frames
  3. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:392)
    1 frame