Hi,
In your ear, in META_INF/jboss-app.xml :

  | <jboss-app>
  |     <jmx-name>myservice:service=OwnService</jmx-name>
  | </jboss-app>
  | 
In your war, in META-INF/jboss-web.xml:

  | <jboss-web>
  |     <depends>myservice:service=OwnService</depends>
  | </jboss-web>
  | 
this way, your war will deploy after your ear is deployed. But keep in mind 
that the ear depends on the war is not possible. The deployment of the ear can 
not depend on other services (but services in the ear can).
Hope it will help you.
Vincent

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169216
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to