A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Tomcat Restart Programatically?
change my BMP's datasource name during runtime?
FAIL - Application at context path
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