If you are using Ant - you can use the <waitfor> task and try and hit
http://localhost:8080/servlets-examples/servlet/RequestHeaderExample

And check to see if it return a error message.

Ajay


-----Original Message-----
From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 2:01 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: how to detect whether Tomcat has finished starting completely
on Windows?


by the way...why not run it as a service? We do on our Win2K server here! We
also daily stop it at 5:50 am, and restart it at 5:55 am, just to kill off
any bad threads if there are any. It's rare that there are anyway.

-----Original Message-----
From: Vlad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 1:42 PM
To: users@tomcat.apache.org
Subject: how to detect whether Tomcat has finished starting completely on
Windows?


Hello,

We are planning to use latest Tomcat from 5.x branch on Windows. It's 
started using 'bin/catalina.run bat' (please don't offer to run it as a 
service!). Our application requires Tomcat to be often started (and 
stopped) and we wish to enable certain button in the GUI once it's 
started completely.

We have a problem - we can't find a way to reliably determine  whether 
it has finished started or not.
In the middle of startup, it even responds to http requests - but 
returns http error code 400 with error message like
   No Host matches server name 127.0.0.1

What is the recommended way to determine whether Tomcat has finished 
starting up?

Thank you very much for your answers in advance!

--
Vlad .

--
Рамблер-Объявления - прямой доступ к базе газеты Из Рук в Руки! 
http://irr.rambler.ru/

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto. The recipient of this e-mail is solely 
responsible for checking for the presence of "Viruses" or other "Malware". 
Monsanto accepts no liability for any damage caused by any such code 
transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to