简体   繁体   中英

Tomcat graceful undeploy

I haven't found documentation confirming that the undeploy action from Tomcat Manager is a graceful undeploy (that is, it finishes serving current requests). Can someone more knowledgeable confirm that this is indeed the case?

Yes, undeploy is graceful as long as the requests finish in a timely manner (the default is 10 seconds but is configurable).

Requests that go beyond 10 seconds will finish cleanly unless they try to load a resource (class, static file, etc.) after the 10 seconds have passed. In that case they will fail with a ClassNotFoundException or similar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM