1 Reply Latest reply on Mar 12, 2003 11:27 PM by Adrian Brock

    Scheduler with dependencies

    john peel Newbie

      Hi,

      I'd like to launch my scheduler at start time, but I need
      to wait for some Entity beans to be deployed (or, even better, for my all package to be deployed).

      So, I've tried the elements in 'scheduler-service.xml' but I can't figure out the correct syntax.

      I wrote (accroding to the jmx-console):
      jboss.management.single:EJBModule=myApp.jar,J2EEApplication=myApp.ear,J2EEServer=Single,j2eeType=EntityBean,name=XXX
      I also tried :
      jboss.j2ee:jndiName=a.b.c.XLocalHome,service=EJB

      AND as a result I have :

      18:11:22,287 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss:service=Scheduler
      state: CONFIGURED
      I Depend On: jboss.j2ee:jndiName=a.b.c.XLocalHome,service=EJB

      Depends On Me: ]


      It seems that this service MBean is not running :(

      Any idea?


      thanks in advance.