How do you shut down JServ safely if you've started it (manual mode), such that the destroy() methods of the existing servlet classes are invoked?

jae Roh

use the -r or -s flags. Straight from the command line usage info for java org.apache.jserv.JServ with no args:

Usage: java org.apache.jserv.JServ [config file] [options]

  -v : show version number
  -V : show compile settings
  -s : tell running ApacheJServ to shutdown
  -r : tell running ApacheJServ to do a graceful restart

Note: please, specify the configuration file for the [-s] [-r] options.