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: JAR files still locked after Context.stop()
Date Tue, 27 Apr 2010 17:50:28 GMT
> From: Jamie [mailto:jamie@stimulussoft.com]
> Subject: Re: JAR files still locked after Context.stop()
> 
> I've check them out in YourKit profiler thoroughly. All threads in the
> main web application are exiting cleanly.

Not threads, classes.  Use the heap profiler to see if any of your webapp's classes or instances
thereof are hanging around, and if so, what the references are that are keeping them there.

> Is there is a way to call the WebAppClassloader to unload 
> a particular JAR file?

No.  When all references to the classes and instances are gone, the classes will unload and
the jar files will close.

 - 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