> From: Fran Varin [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] Bootstrap stop() > > In looking at the class for the thread > "org.apache.tomcat.util.threads.ThreadWithAttributes" > there does not appear to be a way to bring the thread > down gracefully. In tracking down the actual source, > it extends Thread which usually means there is a > concrete "run()" method...not in this case. So, tomcat > must be using a technique I'm not familiar with to > satisfy the "run()" requirement.
Note the Runnable object used in the ThreadWithAttributes constructor; that provides the necessary run() method, not the subclass of Thread. Look at the API doc for java.lang.Thread for more information. The two Tomcat classes that utilize ThreadWithAttributes are: org.apache.tomcat.util.net.MasterSlaveWorkerThread org.apache.tomcat.util.threads.ThreadPool You'll find the real methods in there (including ones to stop the threads). - 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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]