1 Reply Latest reply on May 25, 2003 2:21 PM by mr_dronski

    Patching webapps

    ivar2

      Hi,
      I would want to patch a webapp that is deployed on a production server.

      goals:
      1. only replace files that have been fixed. This lowers the acceptance testing cost that the customer goes throug after each bugfix.
      2. making it simple.

      I have been using ANT to deploy on a weblogic/tomcat replacing jsp pages and jar files etc. But now I am trying out JBoss bundled with tomcat and it is not as simple. There is no webapps folder where I can update jsp files and jar files. The beans are simple to replace, but what if I only want to replace one class file that has changed?

      Thanx for any help or sugguestions for deployment strategies.

        • 1. Re: Patching webapps
          mr_dronski

          just use exploded archives. if your app in the deploy dir is deployed as app.war archive, then it becomes app.war directory. the structure is just an unpacked war. depending on what you need, you might need to 'touch' the web.xml file to force class reload.