Hi !

I have a SAR file with one service that loads up other MBeans
from my own Xml config file.
The trouble is that the classloader can not find a class that sits
in the same sar where the JBoss service class is?

ie:
server.createMBean("com.percussion.jmx.test.SimpleListener", 
                     getObjectName(),
                     getMethodArguments(this, server),
                     getJMXMethodSignature(this));

        ... 120 more

Caused by: java.lang.ClassNotFoundException: 
com.percussion.jmx.test.SimpleListener
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1183)

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to