5 Replies Latest reply on Apr 11, 2003 12:05 AM by chanomie

    Making Scheduler MBean Depend on EAR

    chanomie Newbie

      I have an EAR application I'm deploying in jBoss. I also have a Scheduler MBean I'm deploying that makes a class against a Scheduable class inside a JAR inside the EAR.

      It works great when I deploy the EAR and then deploy the Scheduler MBean.

      But when I start up jBoss it deploys the Scheduler MBean first and I get an error because it can't find the class it's trying to execute.

      I know that I can add a tag inside of my Scheduler MBean, but I cannot figure out how to reference the J2EE application that must be deployed first.

      How do I get the proper name of the EAR (or specifically the JAR inside the EAR) that goes in the depends tag?