tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <>
Subject Re: Running tomcat from my code
Date Thu, 12 Feb 2009 10:46:55 GMT
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 <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message