André Warnier wrote:
You can probably stop and start individual *applications* within Tomcat programmatically, since that is what the Manager application does. Since that application's source code is available, you can peek in it to see how it works.
Use JMX for such purpose.
But to start Tomcat, I believe the only way is to start the JVM in which Tomcat runs, and for that you probably do need to issue an operating-system level command.
You can embed Tomcat in your code as well.
It depends what your requirements are. -- Mikolaj Rydzewski <m...@ceti.pl> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org