[ http://issues.apache.org/jira/browse/GERONIMO-777?page=comments#action_12316557 ]
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 file. > Deployment files not removed on Windows > --------------------------------------- > > Key: GERONIMO-777 > URL: http://issues.apache.org/jira/browse/GERONIMO-777 > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira