-
1. Re: Wildfly 10 Application deployment order
paramjindal Nov 29, 2017 5:41 AM (in response to shekark)- Create (if it doesn't exist) a
jboss-all.xml
file in theapp.ear/META-INF
folder, whereapp.ear
is the application archive that depends on another application archive to be deployed before it is.- Make a
jboss-deployment-dependencies
entry in this file as shown below. Note that in the listing below,framework.ear
is the dependency application archive that should be deployed beforeapp.ear
application archive is.<jboss umlns="urn:jboss:1.0">
<jboss-deployment-dependencies xmlns="urn:jboss:deployment-dependencies:1.0">
<dependency name="framework.ear" />
</jboss-deployment-dependencies>
</jboss> -
2. Re: Wildfly 10 Application deployment order
shekark Nov 29, 2017 11:28 AM (in response to shekark)Thank you Jindal for the quick response.
Do we have any way we can achieve the same by configuring out side the application bundle , i mean to say make some configuration in the wildfly.
-
3. Re: Wildfly 10 Application deployment order
wdfink Nov 29, 2017 4:52 PM (in response to shekark)WildFly start all applications based on the dependencies.
What you might do is use managed deployments (use CLI to deploy instead of drop the archive into deployments folder) and use deployment overlay for each application to add the jboss-all.xml with CLI to not change the application.
Another way would be to trigger the deployments manually after starting the server via CLI commands.