java.lang.RuntimeException: Error while binding JNDI name TestSessionBean for EJB : TestSessionBean if ejb package not checked the web module is deployed but when run de application lookup not find the ejb Caused by: javax.naming.NameAlreadyBoundException: Use rebind to override

Oracle Community | Juan Alzugaray Guest | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    lookup question

    Oracle Community | 6 years ago | Juan Alzugaray Guest
    java.lang.RuntimeException: Error while binding JNDI name TestSessionBean for EJB : TestSessionBean if ejb package not checked the web module is deployed but when run de application lookup not find the ejb Caused by: javax.naming.NameAlreadyBoundException: Use rebind to override

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error while binding JNDI name TestSessionBean for EJB : TestSessionBean if ejb package not checked the web module is deployed but when run de application lookup not find the ejb Caused by: javax.naming.NameAlreadyBoundException: Use rebind to override

      at com.sun.enterprise.naming.impl.TransientContext.doBindOrRebind()
    2. Glassfish Naming
      TransientContext.doBindOrRebind
      1. com.sun.enterprise.naming.impl.TransientContext.doBindOrRebind(TransientContext.java:333)
      1 frame