-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Suvendu,
On 7/20/17 11:25 AM, Suvendu Sekhar Mondal wrote: > Chaitanya, > > On Thu, Jul 20, 2017 at 8:33 PM, Chaitanya Sabbineni > <sabbinen...@gmail.com> wrote: >> 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. >> > > First, is that a full thread dump? One interesting thing in your > dumps is that there is no "main" thread. This is the first time I > am seeing a thread dump like this. The main thread has exited, because Tomcat has done all it will do in order to shut down. System.exit is not called, only the main thread ends. The TimerTask threads are non-daemon threads, so they keep the JVM from shutting down. > Second thing is, it seems that you are running some type of > scheduler. Can you please check if that is not doing anything > crazy? > "PASS_DEFAULT_GROUP_com.j.passj.core.config.scheduler.LicenseRemovalAf terExpiry" > > #53 daemon prio=5 os_prio=0 tid=0x00007f882461a000 nid=0x1942 in > Object.wait() [0x00007f8810b1f000] > > One last thing, can you please check Tomcat is not shutting down > due to OutOfMemory? Tomcat would not do that. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZcM6lAAoJEBzwKT+lPKRYZiEQAIoC2tAGloNk76PznITq3Nu8 sIz4mxVS1+NGFdSSuCcIqk1kJM8FfUwHIxlmRg4JyrmkJTbZuaSJtzT6Xypeuj2/ uXKa+z2Me33hSLuJlO5rm1Q92X7tMsm3xqo6Nsg5bmrk0euLi3+W/57MT3cNYeTi FzAxJpYxnr6isGhejnXexYzHdJYayHLHFU2CVNphugcsA2zk1mTbg4bgi+ROhAXB 7QJY9H5BzMVB7N2Ix3oNb9feM8vtm13qjMDHEGXMoNtBPLrCV9u4EQ3wo+Vm1Ajp 6/uTY/s7jtxPtk8Cq2aX7cIVAsVVJFnpdExobihk2TmGtAbNmiGiyu4puJcVb15L MlF+KCLTtVOKudptFk9CJ0vv9fiZVRE7Wm979/aBXpOjx4dhXdSH/xUyouQLmM5v fwIBZv4w05Y9lZ1cxmIfnM3yluxMm0y55MopFSr7d45RwVL1O4pmR06cnb/kvu4c z/l2W5LDgJOxPeBrjAAyepPTUxpf5mLTjMx3D1Mmaw2FYBr58FT9zz5oPcBwSTJs 6EYgw/ckVJ5x18QR1gi9mODS/G5qAt/mAJ0KYEis9zQL281nXkdEaad6QM538MgT rjCjrtwvMER2f+1jkqR4merm3WbIExid1xqQpzEGdlu1whqROreiuOxoX6HwR2jg hnzMpL9pTpxEYJLTuu0y =d5ho -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org