[jboss-user] [Installation, Configuration & Deployment] - NoClassDefFoundError: org/jboss/system/ServiceMBean

apate do-not-reply at jboss.com
Tue Dec 19 01:20:39 EST 2006


Hi

Sorry if this is a complete newbie question... 

I'm trying to move a set of .sars onto jboss 4.0.5 (from 3.something). One of the classes in the .sar extends org.jboss.system.ServiceMBean. But on attempting to deploy, I get the following error:

org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
	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)
(lines removed)
Caused by: java.lang.NoClassDefFoundError: org/jboss/system/ServiceMBean
	at java.lang.ClassLoader.findBootstrapClass(Native Method)
	at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
	at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoader(UnifiedLoaderRepository3.java:277)


I presume that this is some sort of class loader issue... but I'm not making a lot of progress after several hours.

Any suggestions gratefully received.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994895#3994895

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994895



More information about the jboss-user mailing list