Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 34424 invoked from network); 8 Oct 2005 16:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2005 16:20:15 -0000 Received: (qmail 30939 invoked by uid 500); 8 Oct 2005 16:19:59 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30925 invoked by uid 500); 8 Oct 2005 16:19:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30914 invoked by uid 99); 8 Oct 2005 16:19:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 09:19:59 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.55.191.200] (HELO webmail1.abac.com) (216.55.191.200) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 09:20:01 -0700 Received: from webmail.xsoftware.biz (localhost.abac.com [127.0.0.1]) by webmail1.abac.com (8.13.5/8.13.5) with ESMTP id j98GJaKn043253 for ; Sat, 8 Oct 2005 09:19:36 -0700 (PDT) (envelope-from dean@xsoftware.biz) Received: from coproxy1.avaya.com ([198.152.13.67]) (SquirrelMail authenticated user dean@xsoftware.biz); by webmail.xsoftware.biz with HTTP; Sat, 8 Oct 2005 09:19:36 -0700 (PDT) Message-ID: <12922.198.152.13.67.1128788376.squirrel@198.152.13.67> Date: Sat, 8 Oct 2005 09:19:36 -0700 (PDT) Subject: hot redeploy now work. locked jsf-impl.jar From: dean@xsoftware.biz To: tomcat-user@jakarta.apache.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: 0.65 (NO_REAL_NAME) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I deploy xsoft.war in webapps directory. It creates a diretory xsoft and deploy works. NEXT, I drop xsoft.war in the webapps directory again. Tomcat starts deleting all files from previous deployment but can't delete jsf-impl.jar. Because of this, tomcat does not deploy xsoft.war and the xsoft directory is left empty except this one file. This was hard to figure out as tomcat logs say nothing about what happened. They don't tell you that redeploy failed because tomcat did not succeed in deleting the first deployment. It took me forever to figure out what was going on. Anyone know why jsf-impl.jar would be locked. I try to manually delete it and can't until I shutdown tomcat. Is tomcat not unlocking the file correctly after it reads it into the classloader for this app? thanks for any help on this, Temporarily I just created an ant script that stops tomcat, deletes previous xsoft directory, redeploys app and restarts tomcat but this takes forever. dean --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org