4 Replies Latest reply on Jan 17, 2009 5:35 AM by Gangadhar mamillapalli

    Deployment Order

    Rogerio Baldini Newbie

      Hi Guys

      How can I order my modules on deployment ?

      I need to primary deploy an ejb module and so deploy a war application.
      Is it possible to determine this dependency ?

      Using: jBoss 5.0.0.GA, jdk6

      Thanks a lot.
      Rogerio

      My application.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
       <description>jcompany_jsf_ear</description>
       <display-name>jcompany_jsf_ear</display-name>
       <module>
       <ejb>jcompany_jsf_modelo.jar</ejb>
       </module>
       <module>
       <web>
       <web-uri>jcompany_jsf.war</web-uri>
       <context-root>jcompany_jsf</context-root>
       </web>
       </module>
      </application>
      


      My jboss-app.xml
      <jboss-app>
       <module-order>strict</module-order>
      </jboss-app>