tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaitanya Sabbineni <sabbinen...@gmail.com>
Subject Re: Tomcat is stopping on its own even though stop script is not executed
Date Thu, 20 Jul 2017 15:03:10 GMT
Hi Chris,

Stop script in the sense it's Catalina script only but we usually stop
tomcat using the command Catalina.sh stop. But in our case we are not
manually executing this script to stop tomcat and tomcat is stopping on its
own.

our main problem here us tomcat is stopping on its own and it needs a
restart.

If I understand you correct you are telling TimerThread that does not stop
when the application is shut down. Can you let me know what actually the
timer thread mean. And moreover if the timer thread didn't stop ideally
tomcat shouldn't stop but in our case it's stopping.

Yes my question is why Tomcat is being shut down at all.

Yes when ever tomcat is stopping on own(not daily) it stops at 02:00 . You
mentioned that your  guess is that we are using a service runner that is
configured to bounce your services at 02:00.Can let me know what this
service runner is and how to check it.

Thanks & Regards,
Chaitanya


On Thu, 20 Jul 2017 8:10 pm Christopher Schultz, <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Chaitanya,
>
> On 7/20/17 2:57 AM, Chaitanya Sabbineni wrote:
> > i am using tomcat 7.0.069 version where tomcat is stopping at a
> > specified time(02:00AM) even though the stop script of the tomcat
> > is not executed.
>
> Why do you say that the stop script is not executed?
>
> > Below is the *error *which i can see in the tomcat log at 2:00 AM
> > when the server is stopped.In order to start the sever we need to
> > execute the start script.
>
> So Tomcat is shutting down, but you have a TimerThread that does not
> stop when the application is shut-down. I'd say you have a bug in your
> application because of that, but I think your real question is why
> Tomcat is being shut down at all.
>
> > Can anyone please let me know what is the problem or can any one
> > suggest a solution.
>
> 02:00 sounds suspicious. My guess is that you are using a service
> runner that is configured to bounce your services at 02:00, and you
> just don't know about it.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJZcMDJAAoJEBzwKT+lPKRY5EwP/1iTW/nQCuYbX0siCl8xoa5Y
> ZGDZCTWzSFK/4gaZL6R871REbv6KvfpL2+zIzMMnuXvVXSpvbZocfE57LuLRSfEL
> rN2ChW/OWkF3K4A0E7mMKws/fdpuglbSZlfoGAzTlDbBPHxYC/1F9xraNrVXi2gt
> 1VPJgPs9v+UlSZIpFbk8NcrB7Ury8cW7BfMsaCRBmCIXATSzjBh98Igmfg5hSnwH
> ndYIIxg47sd9Nno4nvx5KZfE0KC2ybcGjdjDSfkHlgfjcOhTrQJEJeA5etcQdktr
> vMg03lWYkCzBKAXLP2gsfU7Fk9TtMAnRzWouTC8ikPVff6kPcMR2K4AKwhyBYIRg
> /B0tiEWywnO6dwLjIHT8o3ylc4cMpX2O793hwRx5pM5f5RXrSYCPWQlk38l8D3tP
> 5ru2evgM9smTbWAcu9LNwjYMY6mqdydHDXoKlNkOoXYlSuQbyRA/KKYvq0OgISy1
> cHyrQRmNgauu8YqC0olYi5UwmRgG10tAouhup2O+UI/zSUuuTbhxvK+jQGYT/4NK
> BwiHoloZI+zwKI9ZWhPLm8lp2QxpygzzTPZAImUEbbsJB5u1/mwIxJ874uZ+kDDU
> l1nHheEVoRYU4nwPwjIulbfUdKoC9ZFdGqQPOptK25t0QCH3MkCCALqsSbwI9JUS
> Hd/SJscNg86hdO8O/EjQ
> =7bU2
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message