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 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 iConfused
, 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].
via Stack Overflow by melchoir55
, 2 years 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:224)	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5492)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)	at java.util.concurrent.FutureTask.run(FutureTask.java:277)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)	at java.lang.Thread.run(Thread.java:785)