This content has been marked as final.
Show 1 reply
-
1. Re: I try to migrate Jboss AS 5 to Jboss AS 7, here is the question
rhanus Oct 8, 2013 5:28 AM (in response to leechen)you better use java ee6 built-in facility to enforce the order in which modules from an ear are initialized by the container:
<application version="6" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd">
<initialize-in-order>true</initialize-in-order>
<module>
<ejb>xxx.jar</ejb>
</module>
<module>
<web>
<web-uri>yyyy.war</web-uri>
<context-root>some-web-app</context-root>
</web>
</module>
</application>