[JBoss-dev] jboss-head, Testsuite for all configuration fails
Hi all, When I run the test suite, it fails with the excpetion below. Is there a problem with head or is it just my env.? Thanks, Hany Mesha ==Begin=== 20:28:08,943 INFO [Server] Starting JBoss (MX MicroKernel)... 20:28:08,944 INFO [Server] Release ID: JBoss [Morpheus] 5.0.0.Alpha (build: CVSTag=HEAD date=200604041919) 20:28:08,946 INFO [Server] Home Dir: /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha 20:28:09,099 INFO [Server] Home URL: file:/home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/ 20:28:09,100 INFO [Server] Patch URL: null 20:28:09,282 INFO [Server] Server Name: default 20:28:09,283 INFO [Server] Server Home Dir: /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/server/default 20:28:09,283 INFO [Server] Server Home URL: file:/home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/server/default/ 20:28:09,283 INFO [Server] Server Temp Dir: /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/server/default/tmp 20:28:09,284 INFO [Server] Root Deployment Filename: jboss-service.xml 20:28:10,072 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc. 20:28:10,072 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc. 20:28:10,072 INFO [ServerInfo] OS-System: Linux 2.6.5-7.243-default,i386 20:28:11,228 INFO [Server] Core system initialized 20:28:17,840 ERROR [BasicMBeanRegistry] Cannot register MBean java.lang.NoClassDefFoundError: [Lorg/jboss/remoting/InvokerLocator; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2365) at java.lang.Class.privateGetPublicMethods(Class.java:2488) at java.lang.Class.getMethods(Class.java:1406) at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:208) at org.jboss.mx.modelmbean.XMBean.(XMBean.java:224) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:203) at sun.reflect.GeneratedMethodAccessor1.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:262) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1359) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) at org.jboss.system.ServiceController.install(ServiceController.java:226) 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: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:262) 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:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at
Re: [JBoss-dev] jboss-head, Testsuite for all configuration fails
It turned out that build clean then build all doesn't copy jboss-remoting.jar to the server build lib directory causing this error. I overcome the issue by copying the above jar to build/output/jboss-5.0.0.alpha/server/all/lib directory. Now I see the error reported on cruise control but only on my linux machine. My windows machine is able to run without a problem. Hany MeshaOn 4/5/06, Tom Elrod <[EMAIL PROTECTED]> wrote: Running the all config from a clean check out and build is fine (atleast for booting). Running the testsuite does give an error whenbooting the all configuration (during jboss-all-config-tests target),but logs indicate is due to port 1098 already being in use. Saw the same on the cruisecontrol run -http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-1.5/20060405002821/build/output/jboss-5.0.0.Alpha/server/all/log/output.log .Not sure where the error you are seeing came from.Hany Mesha wrote:> Hi all,>> When I run the test suite, it fails with the excpetion below. Is there a> problem with head or is it just my env.? >> Thanks,>> Hany Mesha>> ==Begin===> 20:28:08,943 INFO [Server] Starting JBoss (MX MicroKernel)...> 20:28:08,944 INFO [Server] Release ID: JBoss [Morpheus] 5.0.0.Alpha> (build: CVSTag=HEAD date=200604041919)> 20:28:08,946 INFO [Server] Home Dir:> /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha> 20:28:09,099 INFO [Server] Home URL: > file:/home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/> 20:28:09,100 INFO [Server] Patch URL: null> 20:28:09,282 INFO [Server] Server Name: default> 20:28:09,283 INFO [Server] Server Home Dir: > /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/server/default> 20:28:09,283 INFO [Server] Server Home URL:> file:/home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha /server/default/> 20:28:09,283 INFO [Server] Server Temp Dir:> /home/hmesha/jboss_work/jboss-head/build/output/jboss-5.0.0.Alpha/server/default/tmp> 20:28:09,284 INFO [Server] Root Deployment Filename: jboss-service.xml> 20:28:10,072 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.> 20:28:10,072 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM> 1.5.0_03-b07,Sun Microsystems Inc. > 20:28:10,072 INFO [ServerInfo] OS-System: Linux 2.6.5-7.243-default,i386> 20:28:11,228 INFO [Server] Core system initialized> 20:28:17,840 ERROR [BasicMBeanRegistry] Cannot register MBean> java.lang.NoClassDefFoundError: [Lorg/jboss/remoting/InvokerLocator;> at java.lang.Class.getDeclaredMethods0(Native Method)> at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)> at java.lang.Class.privateGetPublicMethods(Class.java:2488)> at java.lang.Class.getMethods(Class.java:1406)> at> org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:208) > at org.jboss.mx.modelmbean.XMBean.(XMBean.java:224)> at> org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:203)> at sun.reflect.GeneratedMethodAccessor1.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:262)> at> org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:668)> at> org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)> at java.security.AccessController.doPrivileged(Native Method)> at > org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)> at> org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1359)> at> org.jboss.mx.server.MBeanServerImpl.createMBean (MBeanServerImpl.java:345)> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)> at> org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) > at> org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)> at> org.jboss.system.ServiceController.install(ServiceControlle