How do I control the order in which war files are loaded?
I have two war files, engine.war and project.war. project.war depends on engine.war but JBoss is trying to load project.war first.
All I've done is place both war files in my server's deploy folder.
How can I fix this?
Thanks in advance,
You can change the URLComparator to be a
in jboss-service.xml. Make project.war have a lower prefix number than engine.war.
I think you can also pack them individually into ears and have depend classes on the jboss-app.xml of the project.ear to depend on engine.ear.