mercredi 1 avril 2015

How to stop Embedded Tomcat gracefully and tomcat should get stopped only after the current processing requests have to complete

We have implemented embedded tomcat model java application. and running war file from java -jar command. the problem is how can i stop the server. and before server getting stopped, already fired requests to the server should get processed. then only i have to stop server. how can i implement this. thanks in advance.


Aucun commentaire:

Enregistrer un commentaire