javax.naming.NameAlreadyBoundException: Use rebind to override

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error from a migrated app

    Oracle Community | 1 decade ago | 807581
    javax.naming.NameAlreadyBoundException: Use rebind to override
  2. 0

    javax.naming.NameAlreadyBoundException

    Oracle Community | 9 years ago | 843830
    javax.naming.NameAlreadyBoundException: Use rebind to override

    Root Cause Analysis

    1. javax.naming.NameAlreadyBoundException

      Use rebind to override

      at com.sun.enterprise.naming.TransientContext.doBindOrRebind()
    2. Glassfish Naming
      SerialContextProviderImpl.bind
      1. com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:261)
      2. com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:201)
      3. com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:210)
      4. com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:210)
      5. com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:90)
      5 frames
    3. org.omg.stub
      _SerialContextProviderImpl_Tie._invoke
      1. org.omg.stub.com.sun.enterprise.naming._SerialContextProviderImpl_Tie._invoke(Unknown Source)
      1 frame
    4. com.sun.corba
      ClientDelegate.invoke
      1. com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:379)
      2. com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
      3. com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
      4. com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:237)
      5. com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:279)
      5 frames
    5. Java RT
      ObjectImpl._invoke
      1. org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
      1 frame
    6. org.omg.stub
      _SerialContextProvider_Stub.bind
      1. org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.bind(Unknown Source)
      1 frame
    7. Glassfish Naming
      SerialContext.bind
      1. com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:199)
      2. com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:213)
      2 frames
    8. Java RT
      InitialContext.bind
      1. javax.naming.InitialContext.bind(InitialContext.java:359)
      1 frame
    9. Glassfish Naming
      NamingManagerImpl.publishObject
      1. com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:221)
      2. com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:168)
      2 frames
    10. Embedded GlassFish Web
      ContainerFactoryImpl.createContainer
      1. com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:409)
      2. com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:193)
      3. com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:230)
      3 frames
    11. com.iplanet.ias
      AdminChannelServer.sendNotification
      1. com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:345)
      2. com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:81)
      3. com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:134)
      4. com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:110)
      5. com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:294)
      6. com.iplanet.ias.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:424)
      7. com.iplanet.ias.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:408)
      8. com.iplanet.ias.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:291)
      9. com.iplanet.ias.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:99)
      10. com.iplanet.ias.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:84)
      10 frames
    12. Java RT
      TCPTransport$ConnectionHandler.run
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      6. sun.rmi.transport.Transport$1.run(Transport.java:148)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      10. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      10 frames