-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 James,
On 8/18/17 5:13 PM, James H. H. Lampert wrote: > On 8/18/17, 1:41 PM, Christopher Schultz wrote: > >> You say that you aren't running it as a service. How then are >> you running Tomcat? > > startup.sh and shutdown.sh from a command line. > >> Just starting catalina.sh from the CLI directly? If you run it in >> the background, are you running it with nohup? If not, your >> console closing might be killing the Java process. Hmm... but >> you said that Tomcat does in fact shut down when you login and >> stop it. Probably not a SIGHUP killing the process. > > When it's unresponsive, it's apparently still running. But it's not > just our context that's unresponsive; manager is also unresponsive. > And we run with autodeploy disabled: aside from being a huge > context that takes a while to deploy, it's also one that often > needs to be stopped, have instance-specific values set in its > web.inf, and then get restarted, before it can function normally. > >> If you stop Tomcat (when it's unresponsive), then re-start it, >> does it appear to work correctly right away, or do you need to do >> anything else to get it to work again? > > It opens up the port immediately, and serves a sign-on page for > our webapp as soon as it's had a chance to initialize. > > I looked in the latest localhost access log, and no sign of > anything suspicious there. If the JVM is still running, can you take a thread dump? https://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my _running_webapp_.3F - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZm06OAAoJEBzwKT+lPKRYnk8P/0+248VvAIAFl07W5MOSpTk7 UpZqL4/aI21UWHHF61IqjvQyVcLyRR96jHut7crUSt1NpifjhZt/EWgfJTIvQDSs Q2D7P8RH9OcNwT9v6H2q4eQW0/UW0dubyCcsSfx6Ts2qoCz6RLJr2ZIA7fOz+qT9 jG4ipYD3reUfmgxVrATjY7Lnfuehhnd8YX4FJnBZ1lg7p6zcHZDpqWj6yb/zTKIx hW03bjy93cI+DWsgUFJCRH2LhA2I6bljihAyTrRfDKem9VF4MgOPmfGpvfZAC/6P 54tDvAAXj1KL7zGhGch479il6ZbkF7LllqV/0o6m9t1MhSes4PAmYWmbSf4CHLzC 8yyTyMAWm0+yavVpSALDtLlNWtmQMc7BbdwS3lYg5RvdM7E6DnmZlIeX0dQ9Nel+ 3rg+4kGxYWsP3nx3MKWusTyA1qi9pNypWbY+ztY/+xYIzWj8EoAXIzcSgjZAHet1 jEJC+krV3VyewHYncyuv/aXfCtv4atVvtRHzJ1OWphTTp3/Axt3+5OD92MmfSTYj 5xhSNXu0xQmBZY05SZiWNblF3yyaShU1CTnUnC8cVx6vXGQ+CEZN71KnnH0ZX9lE G4tJEidiWuCSSLrmxPul8eRWz9dA3vvA/C6eE4QetVOKaLSHY/gKCEUAKt+MQgFU jugee3DZjdq4S4OUM9U2 =TOFu -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org