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

it says "JACC manager gbean already present" when i deploy PlantsByWebSphere sample

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2.1
    • security
    • Security Level: public (Regular issues)
    • None
    • windows xp sp2(x86)
      jdk6

    Description

      1、start server
      2、deploy sample-datasource sample
      3、deploy PlantsByWebSphere sample but it says:(but this sample can run well)

      2009-08-19 10:28:52,370 ERROR [EjbModuleBuilder] GeronimoSecurityBuilderImpl.addGBeans() failed: JACC manager gbean already present
      org.apache.geronimo.common.DeploymentException: JACC manager gbean already present
      at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:224)
      at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.addGBeans(GeronimoSecurityBuilderImpl.java:150)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:825)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
      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:735)
      Caused by: org.apache.geronimo.kernel.GBeanAlreadyExistsException: com.ibm.wasce.samples/pbw/2.1.1.2/car?J2EEApplication=com.ibm.wasce.samples/pbw/2.1.1.2/car,j2eeType=JACCManager,name=JACCManager
      at org.apache.geronimo.kernel.config.Configuration.addGBean(Configuration.java:626)
      at org.apache.geronimo.deployment.DeploymentContext.addGBean(DeploymentContext.java:186)
      at org.apache.geronimo.security.deployment.GeronimoSecurityBuilderImpl.buildJaccManager(GeronimoSecurityBuilderImpl.java:222)
      ... 16 more

      Attachments

        1. PlantsByWebSphere.7z
          5.35 MB
          Bin He
        2. sample-datasource.7z
          3 kB
          Bin He

        Activity

          People

            xuhaihong Haihong Xu
            hebin Bin He
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: