File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Tomcat Restart Programatically?
Joined: Feb 24, 2004
Nov 15, 2004 05:14:00
I have a requirement where I have to Restart my Tomcat5 Server, programatically, Could ne1 help me out in letting me know the appropriate API to make use of, to achieve this.
I don't want to reload/redeploy the webapp, but the
Thanks In Advance
Author and all-around good cowpoke
Joined: Mar 22, 2000
Nov 15, 2004 06:48:00
Basically you just have to execute the startup.bat batch file. This can be done with one of the
exec methods - be sure to consume the stdout and stderr streams that result.
I agree. Here's the link:
subject: Tomcat Restart Programatically?
FAIL - Application at context path
change my BMP's datasource name during runtime?
Loading the newly created class at runtime
Loading .jar files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014