2 Replies Latest reply on Aug 19, 2003 11:33 AM by jasmit_kochhar

    Error when deploying an update to nukes

    jasmit_kochhar Newbie

      When I start JBoss with Nukes installed -- I get the following error at the end:

      ------------<snip - Exception like the one below>-----

      [/nukes:invoker]: Loading container s
      ervlet invoker
      17:29:04,754 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-3.2.2R
      C2/server/default/deploy/nukes.ear
      17:29:04,754 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2RC2/serv
      er/default/deploy/nukes.ear
      17:29:04,754 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
      ration 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@97d891b3 { url=file:/C:/jboss-3.2.2RC2/serv
      er/default/deploy/nukes-jmx.sar }
      deployer: org.jboss.deployment.SARDeployer@5a9de6
      status: Deployment FAILED reason: create operation failed for package file:/C:
      /jboss-3.2.2RC2/server/default/deploy/nukes-jmx.sar; - nested throwable: (javax.
      management.InstanceNotFoundException: nukes.modules:name=jmx is not registered.)

      state: FAILED
      watch: file:/C:/jboss-3.2.2RC2/server/default/deploy/nukes-jmx.sar
      lastDeployed: 1061252932907
      lastModified: 1061252932897
      mbeans:
      nukes.modules:name=jmx (state not available)
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: nukes.modules:name=jmx
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: ]
      17:29:04,764 INFO [URLDeploymentScanner] Started
      17:29:04,794 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2RC2/serv
      er/default/conf/jboss-service.xml
      17:29:04,794 INFO [Server] JBoss (MX MicroKernel) [3.2.2RC2 (build: CVSTag=JBos
      s_3_2_2_RC2 date=200307231513)] Started in 18s:577ms





      If I try to apply an updated nukes-ear file, I get a number of exceptions:

      ----------------------------------------------------------
      17:42:09,062 INFO [ServiceController] Exception when trying to deploy waiting m
      bean[mbean: null]
      javax.management.InstanceNotFoundException: nukes.blocks:name=menu is not regist
      ered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
      y.java:354)
      at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
      :561)
      at org.jboss.system.ServiceController.getServiceProxy(ServiceController.
      java:745)
      at org.jboss.system.ServiceController.create(ServiceController.java:276)

      at org.jboss.system.ServiceController.create(ServiceController.java:243)

      at org.jboss.system.ServiceController.newClassLoaderNotification(Service
      Controller.java:867)
      at org.jboss.system.ServiceController.handleNotification(ServiceControll
      er.java:784)
      at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
      ficationListenerProxy.java:71)
      at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
      ficationBroadcasterSupport.java:97)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.registerClassLoader(Uni
      fiedLoaderRepository3.java:799)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(UnifiedL
      oaderRepository3.java:134)
      at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.deployment.DeploymentInfo.createClassLoaders(DeploymentInfo
      .java:223)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:688)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:190)
      17:42:09,563 WARN [ServiceConfigurator] Failed to complete install
      java.lang.ClassNotFoundException: org.jboss.nukes.core.themes.openran.OpenRANThe
      me
      at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      823)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      295)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      322)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:98)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:155)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :104)
      at org.jboss.system.ServiceController.newClassLoaderNotification(Service
      Controller.java:863)
      at org.jboss.system.ServiceController.handleNotification(ServiceControll
      er.java:784)
      at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
      ficationListenerProxy.java:71)
      at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
      ficationBroadcasterSupport.java:97)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.registerClassLoader(Uni
      fiedLoaderRepository3.java:799)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(UnifiedL
      oaderRepository3.java:134)
      at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.deployment.DeploymentInfo.createClassLoaders(DeploymentInfo
      .java:223)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:688)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:190)
      17:42:09,563 INFO [ServiceController] Exception when trying to deploy waiting m
      bean[mbean: null]
      javax.management.InstanceNotFoundException: nukes.themes:name=openran is not reg
      istered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
      y.java:354)
      at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
      :561)
      at org.jboss.system.ServiceController.getServiceProxy(ServiceController.
      java:745)
      at org.jboss.system.ServiceController.create(ServiceController.java:276)

      at org.jboss.system.ServiceController.create(ServiceController.java:243)

      at org.jboss.system.ServiceController.newClassLoaderNotification(Service
      Controller.java:867)
      at org.jboss.system.ServiceController.handleNotification(ServiceControll
      er.java:784)
      at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
      ficationListenerProxy.java:71)
      at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
      ficationBroadcasterSupport.java:97)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.registerClassLoader(Uni
      fiedLoaderRepository3.java:799)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(UnifiedL
      oaderRepository3.java:134)
      at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.deployment.DeploymentInfo.createClassLoaders(DeploymentInfo
      .java:223)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:688)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:190)
      17:42:09,563 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.2RC2/serv
      er/default/deploy/nukes-lib.jar



      Nukes also does not work.

      However, if I shutdown and restart the server, Nukes comes back up with the changes and also show the error as the first one posted in this message.


      What am I not doing right ?

      Thanks.