2 Replies Latest reply on Sep 6, 2002 7:05 PM by arbie

    stop/restart redeploys war without cleanup

    arbie

      Help. My C drive is quickly filling up. Every time I stop and restart JBoss, by ear, which includes a war, gets redeployed. Every startup I'm getting another copy of my webapp and jars in my temp directory, but the previous copies are never deleted. Is there any way to configure the server to clean up the old directories?

        • 1. Re: stop/restart redeploys war without cleanup
          minamoto

          I assume you are using JBoss 3.0.x.

          For jetty in jboss-service.xml of jetty-plugin.sar:

          false

          For catalina in tomcat4-service.xml(default is true since 3.0.1):

          true

          Sorry I never tried neither attributes.

          In case of jetty, I'm not sure you may need compile jsp files statically.
          Read Web Integration section in the JBoss 3.0 Quick Start Guide.

          Miki

          • 2. Re: stop/restart redeploys war without cleanup
            arbie

            I tried that, but I still have the same problem. I'm running jboss-3.0.0_tomcat-4.0.3 on a Windows NT box. Every time I restart JBoss I get a new nested-xxxx.war folder in my temp directory with my exploded war, along with several nested-xxxx.jar files. When I shutdown and restart the old wars and jars aren't deleted, but a new copy is created.