tomcat-users mailing list archives

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

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 ?

Regards,
Sergey Ushakov




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message