-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Andrew,
On 1/28/13 1:49 PM, Andrew Kujtan wrote: >> -----Original Message----- From: Christopher Schultz >> [mailto:ch...@christopherschultz.net] Sent: Monday, January 28, >> 2013 10:33 AM To: Tomcat Users List Subject: Re: Restarting >> Tomcat from within itself? >> > Daniel, > > On 1/28/13 8:19 AM, Daniel Mikusa wrote: >>>> On Jan 26, 2013, at 5:19 AM, Sunil Shevante wrote: >>>> >>>>> Hi, >>>>> >>>>> Is it possible to restart tomcat from within itself? >>>>> > >> FWIW, It is possible to restart tomcat by calling, > >> org.apache.catalina.startup.Bootstrap.main(new String[] { "stop" >> }); > >> then use a shutdown hook to start it up again, > >> But I really don't recommend it. What would your shutdown hook do, then? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlEGyvkACgkQ9CaO5/Lv0PAYJACghkS1q1PS8twbUz2ITogaw6uW oXoAoLD7TAO5YNi1+N4tcmEej0aBu1qr =23Sy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org