ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19485] - Start server sequence
Date Thu, 24 Jul 2003 14:39:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19485>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19485

Start server sequence

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From conor@cortexebusiness.com.au  2003-07-24 14:39 -------
Currently Ant will start the threads in the order given but the JVM can schedule
the threads in a different order once they are started. You have two choices

Use parallel with a group of <sequential> tasks. each sequential is a <sleep>
followed by the <java> task. the delays on the sleeps are increased for each
subsequent server. This is not ideal and will depend on server startup times, etc. 

A better way is to use <waitfor> and test for some condition which indicates the
previous server is up and running. You'll need to have your servers able to do this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message