Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. InitialContext.lookup() has thrown a NameNotFoundException
    Java Runtime
    4
    0
    0
  2. javaURLContextImpl.lookup() has thrown a NameNotFoundException
    Unsorted
    5
    0
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
javax.naming.NameNotFoundException: Name comp/env/persistence not found in context "java:".
6 matching frames hidden
    at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:154)
    at javax.naming.InitialContext.lookup(Unknown Source)

External results for this pattern (6)

  1. 843830via Oracle Community4 months ago
    Name comp/env/ejb not found in context "java:".
    Show stack trace
  2. moros_avia Stack Overflow4 months ago
    Name comp/env/com.asdmt.bean.DiagramManagerManagedBean not found in context "java:".
    Show stack trace
  3. akshayvia Stack Overflow4 months ago
    Name comp/env/persistence not found in context "java:".
    Show stack trace
  4. paulvia Stack Overflow5 months ago
    Name comp/env/service not found in context "java:".
    Show stack trace
  5. Rajani pbvia Coderanch1 year ago
    Name comp/env/ejb not found in context "java:".
    Show stack trace
  6. Shahzebvia Stack Overflow2 years ago
    javax.naming.NameNotFoundException: Name comp/env/helloworld.HelloBean not found in context "java:".
    Show stack trace