This content has been marked as final.
Show 2 replies
-
1. Re: Wildfly order of deployment
ctomc Jul 23, 2019 4:16 AM (in response to adrient)to order deployments on same server use jboss-all.xml with deployment dependencies configured
-
2. Re: Wildfly order of deployment
adrient Jul 23, 2019 4:58 AM (in response to ctomc)Thanks Tomaz.
Unfortunately this solution doesn't work for me. As explained I tried to use it but the problem with the jboss-all.xml is that Wildfly will keep that strong dependency if I redeploy on the fly an app. I sometimes do that when patching part of my stack. For example:
- B is referencing A in jboss-all.xml
- I need to patch and redeploy app A
- When redeploying A then Wildfly will automatically redeploy B
This can be a real problem if, in the above example, A is an EAR containing a few EJBs and B a webapp. I may want to redeploy those EJBs in app A without impacting my whole app but here my site could become completely offline while Wildfly redeploys, needlessly, B.
Does that make sense?
Thanks
Adrien