Ok, I have been able to get the ordering correct by doing the following:
1. Put the deployment order in application.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <application id="Application_ID" version="1.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
| <display-name>ear</display-name>
| <module id="AWebModule_1189479168218">
| <web>
| <web-uri>jsf.war</web-uri>
| <context-root></context-root>
| </web>
| </module>
| <module id="EjbModule_1190938532906">
| <ejb>ejb.jar</ejb>
| </module>
| </application>
|
2. Create jboss-app.xml file and place under /META-INF directory in EAR:
| <?xml version="1.0" encoding="UTF-8"?>
| <jboss-app>
| <module-order>strict</module-order>
| </jboss-app>
|
Unfortunately, I am running into another issue. When I undeploy the app, the MDBs are now
undeploying first (which is good -- my web-app stays up until the MDBs are done
undeploying presumably), BUT the MDBs continue to consume the JMS Queues. They won't
shut down. I figured that the MDBs (currently running) would undeploy after finishing,
but that isn't true.
I understand this is getting off of the Forum Topic, and if you wish to move this Thread
please do so. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105631#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...