1 Reply Latest reply on Sep 27, 2007 3:05 AM by Bruce Springfield

    start SystemPropertiesService before POJOCacheService?

    Bruce Springfield Apprentice

      JBoss 4.2.1

      Deploying POJOCache with deployment descriptor xml file in deploy directory. Setting POJOCache system variables with SystemProperties service. As it stands now, the POJOCache service appears to be started before the SystemProperties service. Is there a way to guarantee that the POJOCache service won't be started until after the SystemProperties service is started?

      I added the depends attribute to declare the dependency in the POJOCache MBean service :

      Code:

      <depends>jboss.varia:service=SystemProperties,name=SystemProperties</depends>
      


      But this causes a number of errors and prevents both services from deploying.

      Is there an error in my depends or is there any other way to guarantee the order in which the services are started?