[JBoss-dev] jbossas confused when additing user-service.xml

Jean-frederic Clere jfclere at gmail.com
Wed Aug 23 12:43:28 EDT 2006


Hi,

I have tried a "weird" thing: copy my jar file and create the 
user-service.xml while jbossas is running, that result the following 
exception:
++++
18:06:26,668 INFO  [Server] JBoss (MX MicroKernel) [5.0.0.Beta (build: 
CVSTag=HEAD date=200608231729)] Started in 17s:960ms
18:30:44,639 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=test:name=0 state=Described mode=Manual 
requiredState=Configured
org.jboss.deployment.DeploymentException: Unable to createMBean for 
test:name=0; - nested throwable: (java.lang.ClassNotFoundException: No 
ClassLoaders found for: org.jboss.jmx.httpd.MBean)
        at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
        at 
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
        at 
org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
        at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
        at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
        at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
        at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
        at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
        at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
        at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
        at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
        at 
org.jboss.system.ServiceController.doChange(ServiceController.java:632)
        at 
org.jboss.system.ServiceController.install(ServiceController.java:250)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:962)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:811)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
        at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy8.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.jmx.httpd.MBean
        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
        at 
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275)
        at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
        at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
        at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
        at 
org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
        ... 45 more
18:30:44,949 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: test:name=0
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Unable to 
createMBean for test:name=0; - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.jmx.httpd.MBean)
+++

Any way to tell jbossas to look for new jar files?

Cheers

Jean-Frederic



More information about the jboss-development mailing list