RE: FW: General / Special cause under which TOMCAT Crash been noticed
Hi >> Try looking into a cron script or some other scheduled task external to tomcat We considered this feature of shell script , but to have to plug with O/s which is not a good idea. We would like to make the process more general across O/s ( JVM level as discussed) With regards karthik -Original Message- From: David Smith [mailto:david.sm...@cornell.edu] Sent: Monday, May 03, 2010 5:11 PM To: Tomcat Users List Subject: Re: FW: General / Special cause under which TOMCAT Crash been noticed If your tomcat instance crashes, it'll be sudden and not anything the tomcat instance itself can do anything about. Try looking into a cron script or some other scheduled task external to tomcat. The script could make a request of tomcat every minute or so and restart it if it's down. Generally if doing this via cron script, the standard output of the script can be automatically emailed to anyone you wish. --David On 5/3/2010 12:44 AM, Karthik Nanjangude wrote: > Hi > > As I have indicated that my Web application would be installed /run remotely > with out any monitoring factor (for reasons) > > I was validating in such situations ,if any known reasons for Tomcat Crash > happens ...How to restart automatically with mail notification as the only > form of offline monitor for status. > > > > > > With regards > karthik > > -Original Message- > From: Gregor Schneider [mailto:rc4...@googlemail.com] > Sent: Friday, April 30, 2010 4:38 PM > To: Tomcat Users List > Subject: Re: FW: General / Special cause under which TOMCAT Crash been noticed > > Karthik, > > *If* any OutOfMemoryError occurs within Tomcat, the reason for said > error will be some faulty webapp, meaning it is likely to crash any > other servlet-container, too. > > Therefore, stick to the rules I pointed out above, and you'll be fine: > > >> Make sure you have some solutions ready in case of DDoS, see that your >> OS is stable and on a current patchlevel and scrutinize the software >> you're installing into Tomcat (aka Webapps) thoroughly - that's about >> it. >> > Rgds > > Gregor > -- > just because you're paranoid, don't mean they're not after you... > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available > @ http://pgpkeys.pca.dfn.de:11371 > @ http://pgp.mit.edu:11371/ > skype:rc46fi > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: General / Special cause under which TOMCAT Crash been noticed
If your tomcat instance crashes, it'll be sudden and not anything the tomcat instance itself can do anything about. Try looking into a cron script or some other scheduled task external to tomcat. The script could make a request of tomcat every minute or so and restart it if it's down. Generally if doing this via cron script, the standard output of the script can be automatically emailed to anyone you wish. --David On 5/3/2010 12:44 AM, Karthik Nanjangude wrote: > Hi > > As I have indicated that my Web application would be installed /run remotely > with out any monitoring factor (for reasons) > > I was validating in such situations ,if any known reasons for Tomcat Crash > happens ...How to restart automatically with mail notification as the only > form of offline monitor for status. > > > > > > With regards > karthik > > -Original Message- > From: Gregor Schneider [mailto:rc4...@googlemail.com] > Sent: Friday, April 30, 2010 4:38 PM > To: Tomcat Users List > Subject: Re: FW: General / Special cause under which TOMCAT Crash been noticed > > Karthik, > > *If* any OutOfMemoryError occurs within Tomcat, the reason for said > error will be some faulty webapp, meaning it is likely to crash any > other servlet-container, too. > > Therefore, stick to the rules I pointed out above, and you'll be fine: > > >> Make sure you have some solutions ready in case of DDoS, see that your >> OS is stable and on a current patchlevel and scrutinize the software >> you're installing into Tomcat (aka Webapps) thoroughly - that's about >> it. >> > Rgds > > Gregor > -- > just because you're paranoid, don't mean they're not after you... > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available > @ http://pgpkeys.pca.dfn.de:11371 > @ http://pgp.mit.edu:11371/ > skype:rc46fi > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: FW: General / Special cause under which TOMCAT Crash been noticed
Hi As I have indicated that my Web application would be installed /run remotely with out any monitoring factor (for reasons) I was validating in such situations ,if any known reasons for Tomcat Crash happens ...How to restart automatically with mail notification as the only form of offline monitor for status. With regards karthik -Original Message- From: Gregor Schneider [mailto:rc4...@googlemail.com] Sent: Friday, April 30, 2010 4:38 PM To: Tomcat Users List Subject: Re: FW: General / Special cause under which TOMCAT Crash been noticed Karthik, *If* any OutOfMemoryError occurs within Tomcat, the reason for said error will be some faulty webapp, meaning it is likely to crash any other servlet-container, too. Therefore, stick to the rules I pointed out above, and you'll be fine: > Make sure you have some solutions ready in case of DDoS, see that your > OS is stable and on a current patchlevel and scrutinize the software > you're installing into Tomcat (aka Webapps) thoroughly - that's about > it. Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: General / Special cause under which TOMCAT Crash been noticed
Karthik, *If* any OutOfMemoryError occurs within Tomcat, the reason for said error will be some faulty webapp, meaning it is likely to crash any other servlet-container, too. Therefore, stick to the rules I pointed out above, and you'll be fine: > Make sure you have some solutions ready in case of DDoS, see that your > OS is stable and on a current patchlevel and scrutinize the software > you're installing into Tomcat (aka Webapps) thoroughly - that's about > it. Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: General / Special cause under which TOMCAT Crash been noticed
Karthik, --- On Thu, 4/29/10 at 11:02 PM, Karthik Nanjangude wrote: > > This is in referral to one of the form topics raised some > day's ago > > For JVM to restart Tomcat in 1 case when > OnOutOfMemoryError > > was raised > > URL http://marc.info/?l=tomcat-user&m=127119151302985&w=2 > > Refers to -XX:OnOutOfMemoryError=" args>;" for restart > > > I wanted to make sure if any other cause for TOMCAT Crash > been noticed. > > Yes... - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
FW: General / Special cause under which TOMCAT Crash been noticed
Hi >> for General / Special cause under which TOMCAT Crash been noticed ? This is in referral to one of the form topics raised some day's ago For JVM to restart Tomcat in 1 case when OnOutOfMemoryError was raised URL http://marc.info/?l=tomcat-user&m=127119151302985&w=2 Refers to -XX:OnOutOfMemoryError=";" for restart I wanted to make sure if any other cause for TOMCAT Crash been noticed. With regards karthik -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 29, 2010 10:18 PM To: Tomcat Users List Subject: Re: General / Special cause under which TOMCAT Crash been noticed -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 4/29/2010 4:19 AM, Karthik Nanjangude wrote: > SPEC > > JDK1.5 > TOMCAT 6.0.26 > O/s : Windows 2000 ,Linux ( Red Hat ) / Unix ( HP ) > > Question : Is there any list of cases , categories with Comparable > Study for General / Special cause under which TOMCAT Crash been noticed ? I've always noticed that Tomcat has crashed after Tomcat has crashed. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvZuCYACgkQ9CaO5/Lv0PByggCdG3hd6FBU4rHvPAJEMCyAs4TA 0uUAoJEMv0bXhrbIdTbh4cRGauHI+iZi =k4bT -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org