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
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

    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