This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an application runs fine on Jboss 4.2.3. I am trying to deploy it on Jboss 5.1.0.GA but having some issues with the order in which wars are deployed.
The wars need to be deployed in the order specified by application.xml.
Wars should not be dependent. If you have that, your design is flawed (and you are not adhering to the servlet spec).
Please keep in mind that one war may not be deployed while another is, so there is no way to guarantee that they are both present and loaded. They may alse be deployed in separate containers.
If you have a dependency, you have to break it and change your app. Perhaps you can go through the database, or have one WAR call web services on the other. The absence of the other war is just something you will have to learn to live with.