Yep, there is exactly this in Cactus. Download the Cactus source
(http://jakarta.apache.org/builds/jakarta-cactus/nightly/ for latest
sources) and have a look at the package org.apache.cactus.ant. You'll find
the user documentation on
http://jakarta.apache.org/cactus/howto_ant_cactus.html.

Thanks
-Vincent

----- Original Message -----
From: "Daniel Hoppe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 8:23 AM
Subject: RE: Anyone have a task that will wait until a weblogic server has
started?


Hi,

I think that the cactus tasks do something like this. Afaik they
continuously try to connect to the HTTP port until it's responding.

Daniel

> -----Original Message-----
> From: Garrick Olson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 20, 2001 3:51 AM
> To: Ant-Dev (E-mail)
> Subject: Anyone have a task that will wait until a weblogic server has
> started?
>
>
>
> I am currently doing something like:
>
> <parallel>
>     <wlstart ... />
>     <sequential>
>         <sleep seconds="360"/>
>         <junit ... />
>         <wlstop .... />
>     </sequential>
> </parallel>
>
> The problem is that Weblogic takes a very unpredictable
> amount of time to
> start due to JSP pre-compilation, etc.  If by chance the
> server has not
> properly initialized in the specified amount of time, the
> wlstop will happen
> too early and the build will hang indefinitely.  :(
>
>
> I am looking for an alternative task that would look more like:
>
> <parallel>
>     <wlstart ... />
>     <sequential>
>         <pingserverportuntilitresponds url="http://localhost:7001";
> timeout="1hr" />
>         <junit ... />
>         <wlstop .... />
>     </sequential>
> </parallel>
>
> I seems like it would not be hard to write such a task, but if someone
> already has one...  :)
>
>
>
> Confidential Information. This email is for intended recipient only.
>
>
>
>

<<<<<<<<<<<<<<<<<<<<<<<<<<<
sitewaerts GmbH
Hebelstra�e 15
D-76133 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>




Reply via email to