www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: [Hudson] File on Windows can't be deleted
Date Sun, 17 Oct 2010 15:40:43 GMT
On Sun, Oct 17, 2010 at 12:27 PM, sebb <sebbaz@gmail.com> 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

In the directory:

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.


View raw message