3 Replies Latest reply on Jun 19, 2003 10:16 AM by jonlee

    Expanded .war deployment

      I'd like to be able to deploy an exapnded war file with JBOSS 3.2.1/Jetty as part of the default server configuration. The expanded .war file sits in c:\myapp.

      Does anyone know the correct way to add this to the deployer list (or which deployer can deploy expanded war files)? I've tried a varitey of combinations in the default server's jboss-service.xml file to add this directory to the auto-deploy list. Is there another mechanism I can use to get this application deployed?

      Any suggestions would be great.

        • 1. Re: Expanded .war deployment
          prabhakar

          Create a directory called app.war in the deploy directory and lay out the files in that dir.

          -prabhakar

          • 2. Re: Expanded .war deployment

            Is this the only way to do this? I have a commercial app and I'm not sure what effect changing their directory names will have on the system as a whole.

            Thanks for your response!

            • 3. Re: Expanded .war deployment
              jonlee

              Even if the deployment directory is outside the JBoss standard deploy directory, you must rename the unpacked directory to have a .war extension (if it is a WAR). So for your example, rename the directory to \myapp.war.

              You can then change your URLDeployment URL attribute to:

              deploy/,file:/myapp.war


              You would need to modify the file locator to your needs.