1 Reply Latest reply on Dec 22, 2008 2:26 PM by Peter Johnson

    deploy web app to static directory

    Sascha Janz Master

      i got a wep application which is packaged as a war file.

      i want to dynamically replace some pages in my app, without redeploying the whole app.

      my idea is to put the unpacked war to a static directory, so i can replace the files there.

      can this be done? how?

        • 1. Re: deploy web app to static directory
          Peter Johnson Master

          You could do an exploded deployment: http://www.jboss.org/community/docs/DOC-9719. Then changes to static items and JSPs are picked up right away (might need a browser refresh).

          You can also declare an external directory for deployment, and place your exploded war directory there. To do so, either:

          a) edit the URLs attribute in the last MBean in the file server/xxx/conf/jboss-service.xml (works in 4.0.x and 4.2.x), or

          b) Add a new value to the applicationURIs property of the SerializableDeploymentRepositoryFactory bean in server/xxx/conf/bootstrap/profile-repository.xml file (5.0)