[jboss-user] [JBossCache] - start SystemPropertiesService before POJOCacheService?
BruceSpringfield
do-not-reply at jboss.com
Tue Sep 25 02:14:23 EDT 2007
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088270#4088270
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088270
More information about the jboss-user
mailing list