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]