> From: Gilbert, Antoine [mailto:AGilbert@(protected)]
> Subject: RE: Undeploying problem with Tomcat 5.5 and Log4J
>
> I'm not sure I understand. Calling shutdown within a finalize() of my
> objects ? Does this will cause problem to the other Web apps running
> within the tomcat instance ?
Please don't use finalize() if you can possibly avoid it - it really
bogs down the internal workings of the JVM. As the previous poster
indicated, use a context listener to shutdown logging when your app is
being terminated; it won't bother the other apps, since this one uses
its own logging. To read up on listeners, look at section 10 of the
servlet spec:
http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html
- 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 start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)