Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355001 - ClassNotFoundException: No ClassLoaders found for: org.jboss.jetty.jmx.JettyMBean
Summary: ClassNotFoundException: No ClassLoaders found for: org.jboss.jetty.jmx.JettyM...
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.5.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 15:02 EDT by Michael Gorovoy CLA
Modified: 2011-08-17 18:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gorovoy CLA 2011-08-17 15:02:18 EDT
Originally opened as http://jira.codehaus.org/browse/JETTY-1416 by Maksim Meier <maksim.meier@googlemail.com>

I have just tested the JBoss-Jetty module jboss-jetty-7.5.0.RC0.sar
and I see following errors in JBoss log files:

2011-08-17 15:05:57,466 WARN [org.eclipse.jetty.util.log] (main EXCEPTION
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.jetty.jmx.JettyMBean
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:92)
at org.eclipse.jetty.jmx.ObjectMBean.mbeanFor(ObjectMBean.java:117)
at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:243)
at org.eclipse.jetty.jmx.MBeanContainer.add(MBeanContainer.java:141)
at org.eclipse.jetty.util.component.Container.add(Container.java:204)
at org.eclipse.jetty.util.component.Container.update(Container.java:90)
at org.eclipse.jetty.server.Server.setThreadPool(Server.java:202)
at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:500)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:369)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:311)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:273)
at org.jboss.jetty.Jetty.setXMLConfiguration(Jetty.java:150)
at org.jboss.jetty.Jetty.setConfigurationElement(Jetty.java:124)
at org.jboss.jetty.JettyService.createService(JettyService.java:258)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)

Similar errors also reported for the classes:

org.eclipse.jetty.util.thread.jmx.QueuedThreadPoolMBean
org.eclipse.jetty.util.component.jmx.AbstractLifeCycleMBean
org.eclipse.jetty.server.nio.jmx.SelectChannelConnectorMBean
org.eclipse.jetty.server.nio.jmx.AbstractNIOConnectorMBean
org.eclipse.jetty.server.jmx.AbstractConnectorMBean
org.eclipse.jetty.http.jmx.HttpBuffersMBean
org.eclipse.jetty.util.component.jmx.AbstractLifeCycleMBean
org.eclipse.jetty.server.handler.jmx.HandlerCollectionMBean
org.eclipse.jetty.server.handler.jmx.AbstractHandlerContainerMBean
org.eclipse.jetty.server.handler.jmx.ContextHandlerCollectionMBean
org.eclipse.jetty.server.handler.jmx.HandlerCollectionMBean
org.eclipse.jetty.server.handler.jmx.AbstractHandlerContainerMBean
org.eclipse.jetty.server.handler.jmx.DefaultHandlerMBean
org.eclipse.jetty.server.handler.jmx.RequestLogHandlerMBean
org.eclipse.jetty.server.handler.jmx.HandlerWrapperMBean
org.eclipse.jetty.server.handler.jmx.AbstractHandlerContainerMBean

jetty-7.4.2.v20110526-jboss-4.2.3.GA-jsp-2.1.sar does not produce such errors.
Comment 1 Michael Gorovoy CLA 2011-08-17 15:03:34 EDT
This issue is related to bug 332200 and is likely caused by the attempt to fix the latter. It will be fixed in final 7.5.0 release.
Comment 2 Michael Gorovoy CLA 2011-08-17 18:40:03 EDT
Committed to Jetty master.