> From: André Warnier [mailto:a...@ice-sa.com] 
> Subject: Re: [OT] Cannot cleanly undeploy a web application

> What probably happens here, is that one level below the InputStream which 
> holds the filehandle in Java, is some native file object which has the file
> open. The InputStream object is discarded at tbe Java level, but is only 
> really destroyed at the next GC.

That sounds quite feasible.  The real error is that whoever owned the 
InputStream failed to close it, and simply removed all references to it, making 
it unreachable.  The next GC did the close() as part of its cleanup work.  The 
fix would be to find the InputStream and explicitly close it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to