Hi
I deploy 2 ear files at the same time A.ear and B.ear. Jboss always deploys B.ear first, but I would like it to start with A.ear instead.
The problem is that B contains some JMS structures, and when there are messages in the persistent store on startup of jboss, the MDB's fails because they rely on A.ear, and the entire system seems to lock up.
It works fine if I remove B from the deploy directory, start the server, and the put B back in the deploy directory.
Is there a way to control this behaviour ?
YES there is a way.....
Look into jboss/deploy/conf/jboss-service.xml
... <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute> ...