4 Replies Latest reply on Sep 10, 2002 6:43 PM by Juha Lindfors

    Help!  War file is redeployed every time I restart JBoss

    Kathy Hogan Newbie

      I'm running jboss-3.0.0_tomcat-4.0.3 on Windows NT. I have an ear that contains a war and ejb. Everyting is running fine. However, every time I restart jboss, the war is redeployed into c:/temp/nested-xxx.war, and the jars are redeployed into c:/temp/nested-xxx.jar. If I stop and restart jboss, the old war and jars aren't cleaned up, but a new version is created. I've completely filled my c drive twice in the last week.

      Why is the war file deployed every time, instead of using the existing version? I've added the attribute DeleteWorkDirs to my tomcat-service.xml, but that didn't make any difference (I've tried with the value set to both true and false). Below is my tomcat4-service.xml file, in case I put the attribute in the wrong place.


      <?xml version="1.0" encoding="UTF-8"?>
      <!-- Set catalina.home to the location of the Tomcat-4.x dist.
      The default value is that of the JBoss/Catalina bundle where the
      jakarta-tomcat-4.0.3-LE-jdk14 is included as jboss_dist/catalina
      -->
      <!DOCTYPE server [
      <!ENTITY catalina.home "../catalina">
      ]>

      <!-- The service configuration for the embedded Tomcat4 web container
      -->









      &catalina.home;




      false







      <!-- A HTTP Connector on port 8080 -->