[jboss-user] [Clustering/JBoss] - Re: Farm hot-deploy waits for MDBs to finish?
seoeng
do-not-reply at jboss.com
Fri Nov 16 13:51:43 EST 2007
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#4105631
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105631
More information about the jboss-user
mailing list