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