geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-5667) Tomcat utils module needs to load MBean classes from catalina module
Date Thu, 28 Oct 2010 06:42:06 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan resolved GERONIMO-5667.
----------------------------

    Resolution: Fixed

Commit changes to tomcat-parent 7.0.0 at revision: 1028197 and tomcat-arch at revision: 1028198.

> Tomcat utils module needs to load MBean classes from catalina module
> --------------------------------------------------------------------
>
>                 Key: GERONIMO-5667
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5667
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 3.0
>            Reporter: Ivan
>             Fix For: 3.0
>
>
> While accessing the web module mbean server from jconsole,  the exception below is thrown
:
> 2010-10-28 14:34:02,546 WARN  [LifecycleMBeanBase] Failed to register object [org.apache.catalina.deploy.NamingResources@41cc41cc]
with name [org.apac
> he.catalina.deploy.NamingResources@41cc41cc] during component initialisation
> javax.management.MBeanException: Cannot load ModelMBean class org.apache.catalina.mbeans.NamingResourcesMBean
>         at org.apache.tomcat.util.modeler.ManagedBean.createMBean(ManagedBean.java:369)
>         at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
>         at org.apache.catalina.util.LifecycleMBeanBase.register(LifecycleMBeanBase.java:158)
>         at org.apache.catalina.core.StandardContext.setNamingResources(StandardContext.java:1770)
>         at org.apache.catalina.core.StandardContext.getNamingResources(StandardContext.java:1745)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:189)
>         at org.apache.tomcat.util.modeler.BaseModelMBean.getAttributes(BaseModelMBean.java:232)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:726)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:665)
>         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
>         at javax.management.remote.rmi.RMIConnectionImpl.getAttributes(RMIConnectionImpl.java:636)
>         at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310)
>         at sun.rmi.transport.Transport$1.run(Transport.java:159)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
>         at java.lang.Thread.run(Thread.java:736)
> Caused by: java.lang.ClassNotFoundException: org.apache.catalina.mbeans.NamingResourcesMBean
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
>         at org.apache.tomcat.util.modeler.ManagedBean.createMBean(ManagedBean.java:362)
>         ... 30 more
> Not sure there is a better way to solve it, will add the dynamic import in the util module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message