tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: JAR files still locked after Context.stop()
Date Tue, 27 Apr 2010 14:57:18 GMT
2010/4/27 Jamie <jamie@stimulussoft.com>:
> Konstantin
>
> I just tried 6.0.26 and no joy. JARs remain locked by Windows. In the auto
> update application I call context.stop() immediatel and System.gc() but alas
> all JAR files are locked. Any other ideas?
>
> Jamie
>
> On 2010/04/27 04:17 PM, Konstantin Kolinko wrote:
>>
>> 2010/4/27 Jamie<jamie@stimulussoft.com>:
>>
>>>
>>> Hi Konstantin
>>>
>>> Thanks. I'll give that a try. Can you confirm whether the options you
>>> were
>>> referring to are antiJARLocking="true" antiResourceLocking="true". Is it
>>> still necessary to specify these options in 6.0.26?
>>>
>>>
>>
>> Yes, those options.
>>
>> In 6.0.26 you will have JreMemoryLeakPreventionListener in default
>> server.xml, which should be enough to prevent jar locking.
>>

Do you have the above mentioned class in your server.xml?

Best regards,
Konstantin Kolinko

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


Mime
View raw message