weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104 Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW) Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'

Oracle Community | 3004 | 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

    wl 8.1 sp1 .ear file deployment problems

    Oracle Community | 1 decade ago | 3004
    weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104 Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW) Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'

    Root Cause Analysis

    1. weblogic.management.ApplicationException

      prepare failed for MorningMDB.jar104 Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW) Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'

      at weblogic.jndi.internal.BasicNamingNode.bindHere()
    2. weblogic.jndi.internal
      WLContextImpl.bind
      1. weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
      2. weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
      3. weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
      4. weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
      4 frames
    3. weblogic.ejb20.deployer
      EJBModule.prepare
      1. weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
      2. weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
      3. weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
      4. weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
      5. weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
      6. weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
      6 frames
    4. weblogic.j2ee
      J2EEApplicationContainer.prepare
      1. weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
      2. weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
      3. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
      4. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
      4 frames
    5. weblogic.management.deploy
      SlaveDeployer.prepareUpdate
      1. weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
      2. weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
      3. weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
      4. weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
      5. weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
      6. weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
      6 frames
    6. weblogic.drs.internal
      SlaveCallbackHandler$1.execute
      1. weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
      1 frame
    7. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      2 frames