geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Boynes (JIRA)" <>
Subject [jira] Commented: (GERONIMO-777) Deployment files not removed on Windows
Date Sat, 23 Jul 2005 02:04:46 GMT
    [ ] 

Jeremy Boynes commented on GERONIMO-777:

I think an attempt is made to delete them (well most of the time) but can't resulting in File.delete()
returning false which is ignored. My guess is that the URLClassLoader has a lock on the file
(as it is treating it as executable) which prevents it being deleted; if that is true then
something needs to get the classloader to shut down and close its files before deleting the
temporary files/archives. Or we need a different type of classloader that does not lock the

> Deployment files not removed on Windows
> ---------------------------------------
>          Key: GERONIMO-777
>          URL:
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3, 1.0-M4, 1.0-M5
>  Environment: Windows
>     Reporter: Jeremy Boynes
>     Assignee: John Sisson
>      Fix For: 1.0

> When running on Windows, deployment leaves behind files and directories in the user's
temp directory. Due to the way temp file names are allocated, this can result in deployment
failures with an unintuitive AccessDenied IOException. These files cannot be removed without
shutting down the server.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message