javax.naming.NameNotFoundException: java:comp/env/log4j/context-name

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

Solutions on the web

via logging-log4j-user by Mike Calmus, 1 year ago
via logging-log4j-user by Mike Calmus, 1 year ago
via logging-log4j-user by Mike Calmus, 1 year ago
javax.naming.NameNotFoundException: java:comp/env/log4j/context-name
at org.jboss.as.naming.InitialContext$DefaultInitialContext.findContext(InitialContext.java:197)
at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:241)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at org.apache.logging.log4j.core.net.JndiManager.lookup(JndiManager.java:128)

Users with the same issue

Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
21 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.