javax.naming.NamingException: Cannot create resource instance

Stack Overflow | Nathan Q | 5 months ago
  1. 0

    JNDI global resource configuration

    Stack Overflow | 5 months ago | Nathan Q
    javax.naming.NamingException: Cannot create resource instance
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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:144)
      1 frame
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
      1 frame
    4. Web Container Naming Utilities
      NamingContextBindingsEnumeration.next
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:842)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      3. org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:117)
      4. org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)
      5. org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:34)
      5 frames
    5. Embedded GlassFish Web
      GlobalResourcesLifecycleListener.lifecycleEvent
      1. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
      2. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:110)
      3. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:82)
      3 frames
    6. Glassfish Core
      Catalina.start
      1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      2. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      3. org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
      4. org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
      5. org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      7. org.apache.catalina.startup.Catalina.start(Catalina.java:693)
      7 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
      2 frames