0 Replies Latest reply on Sep 13, 2004 5:43 PM by ranjithpillai

    Configuring an MBean which will be loaded by a different cla

    ranjithpillai

      Hello All,
      I have an application.ear which contains a startup class (Startup class which extends ServiceMBeanSupport) for the application. I added an entry for this MBean in user-service.xml file.
      mbean code="my.module.configuration.MyStartup"
      name="MyFramework:service=MyStartup"
      attribute name="InstanceName">sys10
      /attribute
      /mbean

      During JBoss startup, JBoss throws ClassNotFoundException "my.module.configuration.MyStartup" which is true because application.ear is loaded by another classloader so MyStart up class is not available in current classpath. What configuration do I need to give, to let JBoss knows that, this class can be located in application.ear file. Any insight into this will be deeply appreciated.

      Thanks,
      Ranjith Pillai.