Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread André Warnier
Mark DeSpain wrote: Greetings! Just trying to do some research regarding a behavior my team observed today. We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Apparently when someone modifies $CATALINA_HOME/conf/web.xml,

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark Thomas
Mark DeSpain mark.desp...@gmail.com wrote: We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Normally, the answer to that question would be yes. In this case, you are in luck. Apparently when someone modifies

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark DeSpain
Hi Mark T, Thanks for the information about removing the WatchedResource... entry from $CATALINA_BASE/context.xml. While that prevents a web applications from restarting when modifying the web.xml included with it, it does not prevent restarting of all web applications when modifying the web.xml

info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-15 Thread Mark DeSpain
Greetings! Just trying to do some research regarding a behavior my team observed today. We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Apparently when someone modifies $CATALINA_HOME/conf/web.xml, Tomcat will reload all

The question of automatic restart Tomcat

2010-04-13 Thread Mirgorodskiy Eugene
Good afternoon. I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start Tomcat, at end of its work as a result of an error or failure in software work. If such

Re: The question of automatic restart Tomcat

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eugene, On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote: I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start

Re: The question of automatic restart Tomcat

2010-04-13 Thread David kerber
On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote: Good afternoon. I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start Tomcat, at end of its work as a result

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
We use automatic restarts on OutOfMemory errors and it works fantastically. I don't do it the way described here, though. I use the JVM's -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver ...which restarts tcServer whenever

Re: The question of automatic restart Tomcat

2010-04-13 Thread Gregor Schneider
On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin jon.bris...@npcinternational.com wrote: We use automatic restarts on OutOfMemory errors and it works fantastically. I don't do it the way described here, though. I use the JVM's -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS:

Re: The question of automatic restart Tomcat

2010-04-13 Thread Bob Hall
Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider rc4...@googlemail.com wrote: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver I'm not aware of that option within my standard sun jdk 1.6.x - what Java-version are you running offering this really useful feature? I wasn't

Re: The question of automatic restart Tomcat

2010-04-13 Thread Thad Humphries
This looks to be a feature of Java HotSpot, and available since v1.4: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp On Tue, Apr 13, 2010 at 4:19 PM, Gregor Schneider rc4...@googlemail.comwrote: On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin jon.bris...@npcinternational.com wrote:

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
comments below... On Apr 13, 2010, at 3:40 PM, Bob Hall wrote: Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider rc4...@googlemail.com wrote: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver I'm not aware of that option within my standard sun jdk 1.6.x - what Java-version

Automatic restart?

2007-11-26 Thread Dennis Thrysøe
Hello, I'm getting logFull all threads in use messages now and then, and have a pretty good idea why. But it seems that tomcat decides to shut down / restart the webapp (or more than that) just after this. Is there some mechanism that restarts when all threads are stuck, or after some

Re: Automatic restart?

2007-11-26 Thread Mark Thomas
Dennis Thrysøe wrote: Is there some mechanism that restarts when all threads are stuck, or after some timeout? Is this configurable. In short, there is no such mechanism. Is some other software monitoring Tomcat and restarting it if it fails? Mark

Re: Automatic restart?

2007-11-26 Thread Dennis Thrysøe
On 26Nov, 2007, at 21:30, Mark Thomas wrote: Dennis Thrysøe wrote: Is there some mechanism that restarts when all threads are stuck, or after some timeout? Is this configurable. In short, there is no such mechanism. Is some other software monitoring Tomcat and restarting it if it fails?

easiest way to schedule an automatic restart of tomcat?

2006-05-08 Thread Jack
Hi, What is an easy way to schedule an automatic restart of Tomcat - say every day at 3am? -- Cheers Jack... The claim natural is not synonymous with safe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: easiest way to schedule an automatic restart of tomcat?

2006-05-08 Thread Gaël Lams
What is an easy way to schedule an automatic restart of Tomcat - say every day at 3am? if you use linux: add a line in your crontab executing /etc/init.d/tomcat restart Regards, Gaël