1 Reply Latest reply on Jan 6, 2005 5:19 AM by sramazzina

    Configure JBossCache in JBoss 4.0.1

    sramazzina

      Hi,

      I've a problem with deploying JBoss Cache in JBoss 4.0.1 as MBean. I've followed the instructions given in JBossCache documentation, copying jboss-cache.jar anc jgroups.jar from the "all/lib" directory to "my_application/lib" directory and implementing, in the deploy subdirectory, the xml configuration file to define the MBean but when I start the jboss server JBossCache doesn't deploys correctly because the following error appears

      11:08:07,206 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Packages waiting for a deployer:
      org.jboss.deployment.DeploymentInfo@883d4064 { url=file:/usr/java/servers/jboss-4.0.1/server/ambamiem/deploy/jboss-ambamiem-cache.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/java/servers/jboss-4.0.1/server/ambamiem/deploy/jboss-ambamiem-cache.xml
      altDD: null
      lastDeployed: 1105006087204
      lastModified: 1105006087000
      mbeans:

      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@883d4064 { url=file:/usr/java/servers/jboss-4.0.1/server/ambamiem/deploy/jboss-ambamiem-cache.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/java/servers/jboss-4.0.1/server/ambamiem/deploy/jboss-ambamiem-cache.xml
      altDD: null
      lastDeployed: 1105006087204
      lastModified: 1105006087000
      mbeans:

      Anyone has any idea about how to fix that? Any help will be appreciated a lot. Thank you

      Sergio

        • 1. 3826146
          sramazzina

          Hi everyone,
          I have downloaded nukes-1.0.0-mysql. I have followed all steps for configuring mysql, jboss-3.2.3, and nukes from install.txt file in nukes installation directory.

          I have put nukes.ear into jboss/server/default/deploy/ directory. and the folder nukes into jboss/server/default directory.

          After starting the jboss server by running ru.sh I get following error: (Please Help Me, Getting Rid of It)--



          [EJBDeployer] Deployed: file:/root/jboss-3.2.3/server/default/tmp/deploy/tmp5762nukes.ear-contents/nukes-ejb.jar
          12:23:01,765 INFO [EmbeddedTomcatService] deploy, ctxPath=, warUrl=file:/root/jboss-3.2.3/server/default/tmp/deploy/tmp5762nukes.ear-contents/nukes.war/
          12:23:01,790 ERROR [MainDeployer] could not start deployment: file:/root/jboss-3.2.3/server/default/tmp/deploy/tmp5762nukes.ear-contents/nukes.war
          org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique)
          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
          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.startService(AbstractDeploymentScanner.java:274)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
          at sun.reflect.GeneratedMethodAccessor5.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:394)
          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:546)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.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:642)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
          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:546)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
          at org.jboss.Main.boot(Main.java:150)
          at org.jboss.Main$1.run(Main.java:395)
          at java.lang.Thread.run(Thread.java:534)
          Caused by: java.lang.IllegalArgumentException: addChild: Child name '' is not unique
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:815)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
          at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
          ... 49 more
          12:23:01,844 ERROR [MainDeployer] could not start deployment: file:/root/jboss-3.2.3/server/default/deploy/nukes.ear
          org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique)
          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
          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.startService(AbstractDeploymentScanner.java:274)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
          at sun.reflect.GeneratedMethodAccessor5.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:394)
          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:546)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.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:642)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
          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:546)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
          at org.jboss.Main.boot(Main.java:150)
          at org.jboss.Main$1.run(Main.java:395)
          at java.lang.Thread.run(Thread.java:534)
          Caused by: java.lang.IllegalArgumentException: addChild: Child name '' is not unique
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:815)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
          at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
          ... 49 more
          12:23:01,957 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
          Cause: Incomplete Deployment listing:
          Packages waiting for a deployer:

          Incompletely deployed packages:
          [org.jboss.deployment.DeploymentInfo@fcab2d80 { url=file:/root/jboss-3.2.3/server/default/deploy/nukes.ear }
          deployer: org.jboss.deployment.EARDeployer@149eb9f
          status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique)
          state: FAILED
          watch: file:/root/jboss-3.2.3/server/default/deploy/nukes.ear
          lastDeployed: 1080802357862
          lastModified: 1080802355000
          mbeans:
          ]MBeans waiting for classes:

          MBeans waiting for other MBeans:


          Thanks in advance,

          Amitabh