1 Reply Latest reply on Oct 25, 2003 5:35 PM by raja05

    war file loading...

    cbwilliams

      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,
      Chuck

        • 1. Re: war file loading...
          raja05

          You can change the URLComparator to be a
          org.jboss.deployment.scanner.PrefixDeploymentSorter

          in jboss-service.xml. Make project.war have a lower prefix number than engine.war.

          -Raj

          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.