javax.naming.NameNotFoundException: Name [jdbc/data] is not bound in this Context. Unable to find [jdbc].

Stack Overflow | Kuroi | 8 months 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

    corporatevault / Discussion / Corporate Vault Help:Help integrating with mysql

    sourceforge.net | 2 years ago
    javax.naming.NameNotFoundException: Name vaultds is not bound in this Context
  2. 0

    jdbc/TestDB is not bound in this Context. Unable to find jdbc

    Stack Overflow | 1 year ago | Preethi Jain
    javax.naming.NameNotFoundException: Name [jdbc/TestDB] is not bound in this Context. Unable to find [jdbc].
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Help integrating with mysql

    corporatevault | 4 years ago | st1morol
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring/resources.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name vaultds is not bound in this Context

    1 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/data] is not bound in this Context. Unable to find [jdbc].

      at org.apache.naming.NamingContext.lookup()
    2. Web Container Naming Utilities
      ResourceLinkFactory.getObjectInstance
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:819)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:167)
      3. org.apache.naming.factory.ResourceLinkFactory.getObjectInstance(ResourceLinkFactory.java:97)
      3 frames
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      1 frame
    4. Web Container Naming Utilities
      SelectorContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:842)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      3. org.apache.naming.NamingContext.lookup(NamingContext.java:830)
      4. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      5. org.apache.naming.NamingContext.lookup(NamingContext.java:830)
      6. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      7. org.apache.naming.NamingContext.lookup(NamingContext.java:830)
      8. org.apache.naming.NamingContext.lookup(NamingContext.java:167)
      9. org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)
      9 frames
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(Unknown Source)
      1 frame
    6. confDataSource
      ConnectToDatabase.getConnection
      1. confDataSource.ConnectToDatabase.getConnection(ConnectToDatabase.java:18)
      1 frame
    7. org.apache.jsp
      index_jsp._jspService
      1. org.apache.jsp.index_jsp._jspService(index_jsp.java:98)
      1 frame
    8. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      1 frame
    10. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      3 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    13. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
      10 frames
    15. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      3 frames
    16. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    17. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame