Re: Logrotate killing Tomcat
Hi Thomas, There isn't in /etc/logrotate.conf a script sending signals to the java process. I installed on the last Friday a new server with a new version of Centos 5.6. In that new server, the tomcat process didn't shutdown. On the Centos 5.5, the tomcat process has been shutdown by logrotate. I Think the problem was solved, probably a bug in Centos 5.5. I'll do more test and keep you informed. Thanks, Alex Carvalho 2011/4/30 Thomas Freitag tho...@freit.ag -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alex, On 04/29/2011 07:19 PM, Alex Carvalho da Silva wrote: I ran manually /usr/sbin/logrotate /etc/logrotate.conf and the aplication shutdown. Can mod_jk shutdown the tomcat? No it can not. You should look in /etc/logrotate.conf which files are referenced. Maybe scripts are sending signals to the java process. I suspicious that configuration in my workers.properties: worker.institucional-homologacao-west.socket_timeout=1800 worker.institucional-homologacao-west.recycle_timeout=1800 worker.institucional-homologacao-west.cache_timeout=1800 At least recycle_timeout and cache_timeout deprecated since several years, see http://tomcat.apache.org/connectors-doc/reference/workers.html for description of connection_pool_timeout. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk27lqcACgkQGE5pHr3PKuXoagCffHcW35FukpUIZUSFp8mJVJkk TXwAnRYpBdtOZL8QoGc8lxzVWDiA2HIF =4y94 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Logrotate killing Tomcat
Hi Chris, I ran manually /usr/sbin/logrotate /etc/logrotate.conf and the aplication shutdown. Can mod_jk shutdown the tomcat? I suspicious that configuration in my workers.properties: worker.institucional-homologacao-west.socket_timeout=1800 worker.institucional-homologacao-west.recycle_timeout=1800 worker.institucional-homologacao-west.cache_timeout=1800 Thanks, Alex Carvalho 2011/4/28 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex, On 4/27/2011 3:31 PM, Alex Carvalho da Silva wrote: It's a catalina.out log. There isn't anything before that. There is 4 instance running and only with this I have problem. I discovered that this problem occurs when logrotate runs, but there isn't tomcat script on the /etc/logrotate.d/ Sounds like your Tomcat process is stopping and you're just guessing that it's logrotate. If logrotate isn't set up to do anything with Tomcat, why do you think logrotate is stopping Tomcat? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk25fogACgkQ9CaO5/Lv0PAuqgCfWqZ7yVhcDya+FN2sqbwxDnQ6 FE8An39Z3zmoTRvhzIvKEmg9Jddzy9WX =mY06 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Logrotate killing Tomcat
Hi everyone, One tomcat server instance die when the logrotate run every week... The last info I get in the logs are : Apr 7, 2011 4:03:15 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8180 Apr 7, 2011 4:03:16 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Apr 7, 2011 4:03:16 AM org.apache.catalina.ha.session.JvmRouteBinderValve stop INFO: JvmRouteBinderValve stopped Apr 7, 2011 4:03:17 AM org.apache.catalina.ha.session.DeltaManager stop INFO: Manager [localhost#] expiring sessions upon shutdown Apr 7, 2011 4:03:17 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc Running The Apache Tomcat 6.0 (6.0.32) Linux CentOS :2.6.18-194.17.4.el5 java version 1.6.0_24 There is not tomcat script on the /etc/logrotate.d/ How can I solve that problem? Thanks, Alex Carvalho
Re: Logrotate killing Tomcat
It's a catalina.out log. There isn't anything before that. There is 4 instance running and only with this I have problem. I discovered that this problem occurs when logrotate runs, but there isn't tomcat script on the /etc/logrotate.d/ Alex Carvalho 2011/4/27 Wesley Acheson wesley.ache...@gmail.com As far as I can see theres's no exception in this log. Is there anything of intrest a few lines before this? Like a stack trace. What does catalina.out say? On Wed, Apr 27, 2011 at 6:36 PM, Alex Carvalho da Silva alexc...@gmail.comwrote: Hi everyone, One tomcat server instance die when the logrotate run every week... The last info I get in the logs are : Apr 7, 2011 4:03:15 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8180 Apr 7, 2011 4:03:16 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Apr 7, 2011 4:03:16 AM org.apache.catalina.ha.session.JvmRouteBinderValve stop INFO: JvmRouteBinderValve stopped Apr 7, 2011 4:03:17 AM org.apache.catalina.ha.session.DeltaManager stop INFO: Manager [localhost#] expiring sessions upon shutdown Apr 7, 2011 4:03:17 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc Running The Apache Tomcat 6.0 (6.0.32) Linux CentOS :2.6.18-194.17.4.el5 java version 1.6.0_24 There is not tomcat script on the /etc/logrotate.d/ How can I solve that problem? Thanks, Alex Carvalho
Re: Tomcat dying on its own
Hi everyone, I have the same problem, but a discovered that my problem is generated by logrotate. When logrotate runs, the tomcat pausing, stopping... There is not a tomcat script on the /etc/logrotate.d/ How can I solve that problem? Thanks, Alex Carvalho 2010/12/6 Guillaume Carbonneau guillaume.carbonn...@gmail.com Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8077 Dec 3, 2010 6:11:36 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 3, 2010 6:11:36 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8077 Running The Apache Tomcat 6.0 (6.0.29) Linux Oracle Red hat : 2.6.18-194.el5 java version 1.6.0_21 This has happened more than once and will occur even if there is no traffic. restarting brings it back up but it has proven to be unreliable... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Instance management
Hi, I have apache-tomcat-6.0.20 and jdk1.6.0_18 installed in one centos 5.5 with three instances running using the CATALINA_BASE variable resource. The developments can shutdown and run own applications with a PROBE application. I would like to management(shutdown e run) all the instances with an web application, someone knows a application java that does this? Thanks, Alex Carvalho