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

vberetti do-not-reply at jboss.com
Thu Aug 7 04:03:43 EDT 2008


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



More information about the jboss-user mailing list