Reputation: 81
In our development environment, we have 2 Tomcat 7.0.22 nodes on Cent OS 5.5 handled by F5 load balancer with sticky sessions. We recently upgraded to JDK 7 and have started observing random tomcat shutdowns. Multiple wars are deployed from common shared loader directory. The pattern during shutdown is as follows
I have run out of ideas to debug this issue. Basically, I'm looking out for a hook or debugger which lets me know the exact process or thread which has invoked shutdown. This should be possible since its a graceful shutdown and Tomcat handled it.
We will mostly revert to JDK 1.6 and test for few days. Till then, any help or pointers will be appreciated
Thanks in advance!
Upvotes: 3
Views: 312
Reputation: 290
Since you mention logrotate, have you tried manually running logrotate [ /usr/sbin/logrotate /etc/logrotate.conf ] and watching to see if it is responsible for the shutdown?
Upvotes: 1