Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6283

Duplicate contextID regiestered!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-2
    • deployment
    • Security Level: public (Regular issues)

    Description

      Recurring steps refer to GERONIMO-6225, deploy it to G server, you will see an exception in server.log.

      2012-02-21 10:41:08,115 ERROR [EjbModuleBuilder] AxisModuleBuilderExtension.initContext() failed: Duplicate contextID registered! ejee/DonateEAR/1.0/car?EJBModule=DonateEJB.jar,J2EEApplication=ejee/DonateEAR/1.0/car,j2eeType=StatelessSessionBean,name=DonateBean
      org.apache.geronimo.common.DeploymentException: Duplicate contextID registered! ejee/DonateEAR/1.0/car?EJBModule=DonateEJB.jar,J2EEApplication=ejee/DonateEAR/1.0/car,j2eeType=StatelessSessionBean,name=DonateBean
      at org.apache.geronimo.j2ee.deployment.EARContext.addSecurityContext(EARContext.java:182)
      at org.apache.geronimo.axis.builder.AxisModuleBuilderExtension.initContext(AxisModuleBuilderExtension.java:178)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:835)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:758)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:686)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      at java.lang.Thread.run(Thread.java:736)

      Attachments

        Issue Links

          Activity

            People

              xuhaihong Haihong Xu
              gary Gary Yao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 12h
                  12h
                  Remaining:
                  Remaining Estimate - 12h
                  12h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified