1 Reply Latest reply on Oct 17, 2004 11:12 AM by Scott Stark

    EAR modules loading order

    erez harari Novice

      hi,
      i'm using jboss 3.2.5.
      i'm deploying an EAR with several WAR modules (no ejb).
      in application.xml i specify the modules in the following order:

      <application>
       <display-name>EAR5</display-name>
       <module>
       <web>
       <web-uri>Portlets/Portlet1.war</web-uri>
       <context-root>/Portlet1</context-root>
       </web>
       </module>
       <module>
       <web>
       <web-uri>Sites/Site1.war</web-uri>
       <context-root>/Site1</context-root>
       </web>
       </module>
       <module>
       <web>
       <web-uri>Sites/Site2.war</web-uri>
       <context-root>/Site2</context-root>
       </web>
       </module>
      </application>


      however, at startup my sites are loader in another order:

      INFO:[STDOUT]: ==contextInitialized: Site1
      INFO:[STDOUT]: ==contextInitialized: Portlet1
      INFO:[STDOUT]: ==contextInitialized: Site2

      so how should i control the order of module loading?