MC Moisei wrote:
Is there a easy way to clear locks ?

If I redeploy my war file and it happens that there is an indexing
happening the lock is not cleared. I know I can tell JVM to run the
finalizers before it exits but in this case the JVM is not exiting being
a hot deploy.
I'd do this by having a destroy() method in the servlet to explicitly shut down any operations. Tomcat (or whatever the servlet is) will call destroy() for you when it shuts down the servlet.

jch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to