javax.naming.NameNotFoundException: Name comp/env/ejb not found in context "java:".

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 Coderanch by Rajani pb, 1 year ago
Name comp/env/ejb not found in context "java:".
via Oracle Community by 843830, 1 year ago
Name comp/env/ejb not found in context "java:".
via Stack Overflow by akshay
, 2 years ago
Name comp/env/persistence not found in context "java:".
via Stack Overflow by paul
, 2 years ago
Name comp/env/service not found in context "java:".
via ibm.com by Unknown author, 2 years ago
via Coderanch by Viji San, 1 year ago
javax.naming.NameNotFoundException: Name comp/env/ejb not found in context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1767)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1083)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:204)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:144)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at undefined.EjbClient.doGet(EjbClient.java:38)

Users with the same issue

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
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

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