2 Replies Latest reply on Apr 5, 2004 9:05 AM by tsmets

    update changes in my servlet without deploy

    jagm88

      Hello,

      I am doing a web application, i create the war and deploy, expanded to a directory named whit the name of my application, when I change one of my servlet, i need rebuild and redeploy to view the changes on the web. There are any way to jboos did this without do this?

      Thanks

        • 1. Re: update changes in my servlet without deploy
          darranl

          If it is redeployment that you are asking for I think touching the web.xml file should be enough.

          • 2. Re: update changes in my servlet without deploy
            tsmets

            Ok,
            I cannot post my ANT-script but what I basically do is :


            • After compiling & copying ALL the files (Servlets, JSP & HTML's)
            • I build up my war after having "touched" the web.xml
            • Copy the freshly generated war to the following directory :
              /jboss-3.2.2/server/default/deploy

              I seems that there is no refresh what so ever...
              Is there a possibility to do the following (to force a cache refresh) :

              • Delete the previous WAR
              • Empty the Cache directory ( /jboss-3.2.2/server/default/deploy/tmp/deploy/tmp*context_root.war)
              • Regenerate the WAR

                Tx for any help,

                \T,