3 Replies Latest reply on Dec 18, 2002 4:40 PM by Collin

    MainDeployer cannot delete my WAR when undeploying

    Collin Novice

      Hi all --

      When I update my WAR in JBoss/Tomcat (3.0.4/4.1.12), the server notices the update, and attempts to redeploy the WAR, first undeploying the old WAR.

      However, it cannot delete the WAR stored in server/default/tmp/deploy/server/default/deploy directory. Here is the error message I am receiving.

      09:56:34,734 INFO [Engine] StandardHost[localhost]: Removing web application at context path /cactu
      s
      09:56:34,750 INFO [Engine] ServletTestRunner: destroy
      09:56:34,750 INFO [Engine] ServletRedirector: destroy
      09:56:34,750 INFO [MainDeployer] could not delete directory file:/Z:/Java/jboss-3.0.4_tomcat-4.1.12
      /server/default/tmp/deploy/server/default/deploy/cactus.war/122.cactus.war restart will delete it
      09:56:34,750 INFO [MainDeployer] Undeployed file:/Z:/Java/jboss-3.0.4_tomcat-4.1.12/server/default/
      deploy/cactus.war


      I suspect that this is why I am seeing old results pop up even when I change my WAR and redeploy it. Any help? I am using java 1.3.

      thanks,
      Collin