tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <Michael.Went...@aswethink.com>
Subject RE: Question regarding starting and shuting the tomcat server re motel y through a browser
Date Thu, 18 Jan 2001 19:36:53 GMT
> Create an Servlet that call getRuntime.exec(
> "/your_directory_to_tomcat/shutdown" ).
> Good luck!

I believe this solution would work for shutdown but then your
out of luck.  I think you need a restart instead of shutdown
cause once you run shutdown you're SOL cause the servlet will 
be stopped unless you are running the servlet on some other
server.


---
Michael Wentzel
Software Developer
<A HREF="http://www.aswethink.com">Software As We Think</A>
<A HREF="mailto://wentzel@aswethink.com">Michael Wentzel</A>

Mime
View raw message