6 Replies Latest reply on Aug 23, 2002 6:19 AM by adrian.brock

    Setting classpath on MBean when using different loader respo

    rfoyle

      I have changed my classloader repository in jboss-app.xml for my ear file because of class versions. The class used to load fine until I made this repository change. Assistance or suggestions would be greatly appreciated!

      -Rich
      rfoyle@hotmail.com

      [jboss-app.xml]
      <jboss-app>
      <loader-repository>repository:application=myEar.ear</loader-repository>
      </jboss-app>

      My problem is that my ear contains a .sar for my mbeans. When JBoss launches it can not find the actual class

      Jboss complains:
      2002-08-21 13:04:09,890 DEBUG [org.jboss.system.ServiceCreator] Class not found for mbean: user:service=myService

      [user-service.xml]