2 Replies Latest reply on Sep 16, 2003 2:08 PM by kosmala

    Trying to deploy already registered mbean

    kosmala Newbie

      I'm trying to start JBoss-3.2.1 (default) without any modifications, just unzipped, nothing else and am always getting a DeploymentException: "Trying to deploy already registered mbean" when jboss tries to deploy the http-invoker. This is in SuSE 8.2. It even didn't work in Knoppix3.1 (started from CD)! it works in Win2000!
      jboss3.2.2RC caused the same error and jboss4.0DR a similar one
      Any ideas?

        • 1. Re: Trying to deploy already registered mbean
          kosmala Newbie

          sorry, but the proper error is:
          01:18:45,784 ERROR [MainDeployer] could not create deployment: file:/win2000/java/jboss-3.2.1/server/default/deploy/http-invoker.sar/
          org.jboss.deployment.DeploymentException: create operation failed for package file:/win2000/java/jboss-3.2.1/server/default/deploy/http-invoker.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=invoker,type=http)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          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:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy7.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:200)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
          at sun.reflect.GeneratedMethodAccessor7.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:549)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:392)
          at sun.reflect.GeneratedMethodAccessor6.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:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          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:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy6.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
          at org.jboss.Main.boot(Main.java:150)
          at org.jboss.Main$1.run(Main.java:388)
          at java.lang.Thread.run(Thread.java:536)
          Caused by: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=invoker,type=http
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:66)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
          at org.jboss.system.ServiceController.install(ServiceController.java:225)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          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:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
          ... 49 more

          it seems to depend on the hardware, because it works on Knoppix3.1 on my laptop, but did not on my desktop (also on Knoppix3.1)?!!?!! Are there any requirements concerning TCP/IP-installation?

          • 2. Re: Trying to deploy already registered mbean
            kosmala Newbie

            it was a hardware problem: i use mixed CL2 and CL3-RAMs and obviously my board was assuming CL2 (but there were no other effects!) fixed now.