javax.naming.NamingException: Cannot create resource instance

Coderanch | O. Ziggy | 8 years ago
  1. 0

    Re: javax.naming.NamingException: Cannot create resource instance

    tomcat-users | 8 years ago | David Smith
    javax.naming.NamingException: Cannot create resource instance
  2. 0

    javax.naming.NamingException: Cannot create resource instance

    Coderanch | 8 years ago | O. Ziggy
    javax.naming.NamingException: Cannot create resource instance
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Failed to get Datasource using jndi in tomcat.

    Oracle Community | 7 years ago | 721557
    javax.naming.NamingException: Cannot create resource instance

    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.NamingException

      Cannot create resource instance

      at org.apache.naming.factory.ResourceFactory.getObjectInstance()
    2. Web Container Naming Utilities
      ResourceFactory.getObjectInstance
      1. org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143)
      1 frame
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      1 frame
    4. Web Container Naming Utilities
      NamingContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:793)
      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:153)
      4 frames
    5. com.bt.ccs21
      CCS21EventAction.execute
      1. com.bt.ccs21.util.DbConnection.getJNDIConnection(DbConnection.java:334)
      2. com.bt.ccs21.util.DbConnection.getJNDIConnection(DbConnection.java:256)
      3. com.bt.ccs21.util.DbConnection.getJRunConnection(DbConnection.java:286)
      4. com.bt.ccs21.presentation.events.admin.LogonActionPost.preAction(LogonActionPost.java:118)
      5. com.bt.ccs21.presentation.events.CCS21EventAction.execute(CCS21EventAction.java:29)
      5 frames
    6. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      3 frames
    7. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      3 frames
    8. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      1 frame
    9. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    12. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    13. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame