Return-Path: Delivered-To: apmail-builds-archive@minotaur.apache.org Received: (qmail 54273 invoked from network); 17 Oct 2010 15:41:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Oct 2010 15:41:14 -0000 Received: (qmail 8013 invoked by uid 500); 17 Oct 2010 15:41:14 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 7929 invoked by uid 500); 17 Oct 2010 15:41:13 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 7921 invoked by uid 99); 17 Oct 2010 15:41:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Oct 2010 15:41:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.216.178 is neither permitted nor denied by domain of niklas@protocol7.com) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Oct 2010 15:41:05 +0000 Received: by qyk35 with SMTP id 35so52546qyk.2 for ; Sun, 17 Oct 2010 08:40:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.115.26 with SMTP id g26mr1140161qaq.51.1287330043786; Sun, 17 Oct 2010 08:40:43 -0700 (PDT) Received: by 10.220.42.20 with HTTP; Sun, 17 Oct 2010 08:40:43 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Oct 2010 17:40:43 +0200 Message-ID: Subject: Re: [Hudson] File on Windows can't be deleted From: Niklas Gustavsson To: builds@apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Oct 17, 2010 at 12:27 PM, sebb wrote: >> C:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\i18n\target\apacheds-i18n-1.5.8-SNAPSHOT.jar >> >> Are there any locks on that file? Can you please try to delete it by hand? > > Note that Java on Windows locks jars on the classpath, so it could be > that there is a stale process which still has the file open. As Sebb noted, there is a stale JVM holding on to that file (and a lot of other Apache DS jars). It was started on October 13 (now seems to be deleted in Hudson), with the following command line: c:\hudson\tools\java\latest-1.6-64\jre\bin\java -Xmx1024m -jar C:\Users\hudson\AppData\Local\Temp\surefirebooter6057665385176864901.jar C:\Users\hudson\AppData\Local\Temp\surefire4636072868886298356tmp C:\Users\hudson\AppData\Local\Temp\surefire846828774278823902tmp In the directory: C:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\server-integ\ Not sure if this helps you track down what part of the build which causes this behavior. I've now killed the process which should have released the file. /niklas