javax.naming.NameNotFoundException: PWC4216: Name config-dir is not bound in this Context

hivmr.com | 5 months ago
  1. 0

    db:: 3.35::Failed while destroying servlet 1d

    hivmr.com | 5 months ago
    javax.naming.NameNotFoundException: PWC4216: Name config-dir is not bound in this Context
  2. 0
    Add localDataSource="true" to the realm when using local database.
  3. 0
    Make sure you use the same name for your database everywhere in context.xml.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring fails to lookup jdbc configured Data Source

    Stack Overflow | 6 years ago | shiju
    javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
  6. 0

    javax.naming.NameNotFoundException

    Oracle Community | 9 years ago | 843793
    javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
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

    PWC4216: Name config-dir is not bound in this Context

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    NamingContext.lookup
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:778)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:161)
    2 frames
  3. be.sofico.web
    ApplicationLoader.contextInitialized
    1. be.sofico.web.frmwrk.application.ApplicationLoader.findConfigDirectory(ApplicationLoader.java:89)
    2. be.sofico.web.frmwrk.application.ApplicationLoader.contextInitialized(ApplicationLoader.java:49)
    2 frames
  4. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4456)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:5111)
    2 frames
  5. com.sun.webserver
    WebModule.start
    1. com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:182)
    1 frame
  6. Glassfish Core
    Embedded.start
    1. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
    2. org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
    4. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
    5. org.apache.catalina.startup.Embedded.start(Embedded.java:917)
    5 frames
  7. Glassfish
    PwcWebContainer.onStartup
    1. com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
    1 frame
  8. com.sun.webserver
    J2EERunner.confPostInit
    1. com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:478)
    2. com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)
    2 frames