tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: [OT] Cannot cleanly undeploy a web application
Date Tue, 16 Jul 2013 23:07:22 GMT
> From: André Warnier [mailto:aw@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message