What are the different ways that I can shutdown my Java application?
The Java Service Wrapper provides a number of methods to cleanly shutdown an application from both internal and external sources.
When people first start using the Java Service Wrapper, they are usually interested in how to integrate their application with the Java Service Wrapper to run as a Service or to have their application monitored. Once an application is setup and integrated with other systems however, the question of how to shutdown often comes up.
There are a number of reasons why you would want to shutdown an application in different ways. When a shutdown needs to be controlled by another application or system for example, pressing "CTRL-C" is not an option.
We have been asked many times about the options available for controlling the shutdown process of the Wrapper, and decided that it was a good idea to collect them all in one place.