ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Hoppe <ho...@sitewaerts.de>
Subject RE: Anyone have a task that will wait until a weblogic server has started?
Date Thu, 20 Sep 2001 07:23:31 GMT
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:Garrick.Olson@Aceva.com]
> 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>



Mime
View raw message