[jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean
jaikiran
do-not-reply at jboss.com
Thu Jul 13 05:24:48 EDT 2006
As per the javadoc of createMBean:
http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServerConnection.html#createMBean(java.lang.String,%20javax.management.ObjectName)
anonymous wrote :
| The MBean server will use its Default Loader Repository to load the class of the MBean
And the Default Loader Repository description is provided at:
http://java.sun.com/j2ee/1.4/docs/api/javax/management/loading/ClassLoaderRepository.html
Going by these docs, i think that the jar containing your MBean classes will have to be placed in the %JBOSS_HOME%/server/default/lib directory. Try it out and let us know if you have any issues.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957664#3957664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957664
More information about the jboss-user
mailing list