How to set deployment order of two ears in Wildfly
问题 I've some issue regarding the deployment order of two applications inside Wildfly 8.1. The problem is that some modules of app2.ear depends of modules from app1.ear , but app1.ear is deployed after app2.ear . I've tried to specify a dependency for app1 like this: <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <deployment> <dependencies> <module name="app2.ear" /> </dependencies> </deployment> </jboss-deployment