RE: tomcat shutdown clarification

2012-08-14 Thread Davis, Chad
> > When I use the shutdown.sh script to stop tomcat, what happens? > > I am tempted to say "Magic." That's good ;) > > > BUT the JVM won't go down if there are still other threads running > > > Am I missing anything important? > > Just one point: if the other threads are daemon threads, th

tomcat shutdown clarification

2012-08-14 Thread Davis, Chad
When I use the shutdown.sh script to stop tomcat, what happens? My understanding is as follows, please correct where wrong. Each of the Servlet Context's, aka web apps, will have their stop lifecycle methods invoked. Tomcat itself will stop it's own mechanisms, such as port listeners, etc.