-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To whom it may concern,
Tom Cat wrote: > I have a servelet spawn a thread that should run until tomcat is > shutdown. The problem is, when Tomcat is shut down, the thread keeps > running. You need to define your thread as a "daemon" thread and it won't stop the JVM from shutting down. Don't worry about all this Tomcat lifecycle and servlet init/destroy stuff from the other responses. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjQItIACgkQ9CaO5/Lv0PA2wgCfd7Z/9/pbC/zdb9LmludWZosP LQEAniHg9oFR1KwC11w5w1XcRV2JMs49 =tB3N -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]