tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [5][PATCH]Run Watchdog from the jakarta-tomcat-5 build.xml
Date Wed, 14 Aug 2002 14:40:07 GMT
On Wed, 14 Aug 2002, Steve Downey wrote:

> This patch starts up a copy of tomcat with the watchdog war files, runs 
> watchdog against it, and shuts down tomcat afterwards. It uses the Launcher 
> to run tomcat in the background, and puts the webapps, work, logs and conf 
> directories in a tmp dir so as not to muck up the build.
> The only part I really don't like is that there isn't a good way to know that 
> tomcat is up and running, so for now there's a sleep between launching tomcat 
> and starting the watchdog tests.

For tomcat5 ? Well, it is - if you use the task ( take a look at 
build2.xml ). The task will start tomcat inprocess, and will return 
after all the startup is done ( and continue with the next task ).

( unless you have wait="true" )


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

View raw message