I'm running an Wildfly 9 Application-Server and everything is deployed with "mvn clean install wildfly:deploy" except 2 War Files that are in the wildfly/standalone/deployments folder and are deployed automatically.
My Problem now is: Every other package has to use the 2 war Files (because its a database) and i can't find a way to tell Wildfly to first deploy the files in the deployment folder and then start to deploy the rest.
At the moment i'm working with TimerServices for each Package till the Database is deployed and running, but that is a real bad solution in my Opinion.
Do you know a way to solve this?
Thx in advance