5 Replies Latest reply on Jun 3, 2004 11:56 AM by Noel Rocher

    Problem when I deploy my module

    sys user Master

      Hi !

      I have a problem when I deploy my module.
      I try to install an already registered mbean, how to do unistall the mbean to aim at deploying my module?
      Someone can help me?
      Thanks !

      09:45:41,279 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/nukes/essaiModuleHibern.sar
      09:45:41,341 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      09:45:41,341 ERROR [MainDeployer] could not create deployment: file:/C:/Jboss-3.2.3/server/default/nukes/essaiModuleHibern.sar
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/Jboss-3.2.3/server/default/nukes/essaiModuleHibern.sar; - nested throwable: (org.jboss.deployment.DeploymentExcep
      tion: Trying to install an already registered mbean: jboss.jca:service=HibernateFactory, name=HibernateFactory)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=HibernateFactory, name=HibernateFactory
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:69)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
       at org.jboss.system.ServiceController.install(ServiceController.java:225)
       at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
       ... 15 more