javax.naming.NameNotFoundException: Cannot find name to unbind

Coderanch | Jay Tai | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Glassfish 3.1 exception using ActiveMQ RA

    Oracle Community | 6 years ago | joseguerra
    javax.naming.NameNotFoundException: Cannot find name to unbind
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Deploy EJB in multiple wars to same app server (Glassfish)

    Stack Overflow | 3 years ago | sdoca
    javax.naming.NameNotFoundException: Cannot find name to unbind

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      Cannot find name to unbind

      at com.sun.enterprise.naming.impl.TransientContext.doUnbind()
    2. Glassfish Naming
      SerialContext.unbind
      1. com.sun.enterprise.naming.impl.TransientContext.doUnbind(TransientContext.java:387)
      2. com.sun.enterprise.naming.impl.TransientContext.unbind(TransientContext.java:409)
      3. com.sun.enterprise.naming.impl.TransientContext.unbind(TransientContext.java:413)
      4. com.sun.enterprise.naming.impl.SerialContextProviderImpl.unbind(SerialContextProviderImpl.java:111)
      5. com.sun.enterprise.naming.impl.SerialContext.unbind(SerialContext.java:708)
      5 frames
    3. Java RT
      InitialContext.unbind
      1. javax.naming.InitialContext.unbind(InitialContext.java:435)
      2. javax.naming.InitialContext.unbind(InitialContext.java:435)
      2 frames
    4. Glassfish Naming
      GlassfishNamingManagerImpl.unpublishObject
      1. com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:250)
      1 frame
    5. org.glassfish.resourcebase
      ResourceNamingService.unpublishObject
      1. org.glassfish.resourcebase.resources.naming.ResourceNamingService.unpublishObject(ResourceNamingService.java:199)
      1 frame
    6. Connectors Runtime
      ConnectorRuntime.deleteConnectorResource
      1. com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl.deleteConnectorResource(ConnectorResourceAdminServiceImpl.java:166)
      2. com.sun.enterprise.connectors.ConnectorRuntime.deleteConnectorResource(ConnectorRuntime.java:380)
      2 frames