geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Boynes (JIRA)" <>
Subject [jira] Commented: (GERONIMO-470) Online deployer locks module file
Date Thu, 11 Nov 2004 15:51:27 GMT
     [ ]
Jeremy Boynes commented on GERONIMO-470:

This appears to be because the jar: URL handler locks the file and does not release its lock
when a stream to one of the entries is closed. So

URL url = new URL("jar:" + fileURL.toString() + "!/WEB-INF/web.xml");
InputStream is = url.openStream();
// read dd

will leave the file locked.

I have not found a way of forcing it to release the lock.

> Online deployer locks module file
> ---------------------------------
>          Key: GERONIMO-470
>          URL:
>      Project: Apache Geronimo
>         Type: Bug
>   Components: deployment
>     Reporter: Jeremy Boynes

> If I distribute a war file using the maven plugin and the online deployer, the server
locks the input file. The means that a second build of my app fails as maven cannot delete
the old war.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message