Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try removing the server.xml file and adding it again to the project, and do a Clean Build.

  2. ,
    via Stack Overflow by dereck

    Add localDataSource="true" to the realm when using local database.

Solutions on the web

via Stack Overflow by iConfused
, 2 years ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
via Stack Overflow by user2305363
, 1 year ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
via Oracle Community by Laury, 1 month ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
via Stack Overflow by theyuv
, 2 years ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
via Stack Overflow by Jagadeeswar
, 1 year ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
via jaspersoft.com by Unknown author, 1 year ago
Name [comp/env] is not bound in this Context. Unable to find [comp].
javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [comp].	at org.apache.naming.NamingContext.lookup(NamingContext.java:818)	at org.apache.naming.NamingContext.lookup(NamingContext.java:166)	at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:993)	at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:975)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5427)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:272)	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:841)	at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1323)	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1250)	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:280)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1142)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1378)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1382)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1350)	at java.lang.Thread.run(Thread.java:745)