tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ushakov, Sergey N" <>
Subject launching Tomcat from Java
Date Tue, 30 Oct 2001 08:04:44 GMT

I am writing a java app that is intended as sort of control center. It
should also occasionally start and stop Tomcat.

Unfortunately I still cannot find a better solution for this than
Runtime.exec("...startup...", ...).

My attempts to use Bootstrap.main() also give a good result ;)  But only
until I wish to stop Tomcat. Then Bootstrap.main ("stop") just kills the
whole JVM... :(

Still avoiding Runtime.exec() would be great. Any ideas? Any ways to
parameterize Catalina/Bootstrap/etc ?

Sergey Ushakov

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

View raw message