[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: .ear priority deployment

vberetti do-not-reply at jboss.com
Mon Aug 4 05:01:08 EDT 2008


Hi,
I have 2 solutions for you :
- you can easily extend the JBoss DeploymentSorter. Then declare the new class in jboss-service.xml in URLComparator.
- you can define dependencies between jmx names. You can say for example that the war needs an ejb or an ear or a sar. There is only one limitation : you can't define a dependency deployement for an ear. But you can set a jmx-name so that others can depends on this ear.
Example : in you war's jboss-web.xml, you can set 
<jboss-web>
   myservice:service=OwnService
</jboss-web>
In this case, you war won't deploy until OwnService is deployed.

Vincent

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168379#4168379

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168379



More information about the jboss-user mailing list