Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84844 invoked from network); 16 Feb 2004 18:17:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Feb 2004 18:17:22 -0000 Received: (qmail 39475 invoked by uid 500); 16 Feb 2004 18:16:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 39430 invoked by uid 500); 16 Feb 2004 18:16:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 39337 invoked from network); 16 Feb 2004 18:16:36 -0000 Received: from unknown (HELO linuxcenter.com.mx) (200.53.184.213) by daedalus.apache.org with SMTP; 16 Feb 2004 18:16:36 -0000 Received: (qmail 9875 invoked by uid 605); 16 Feb 2004 19:39:51 -0000 Date: Mon, 16 Feb 2004 13:39:51 -0600 From: Jose Alfonso Martinez To: Tomcat Users List Subject: Re: How to know when Tomcat has completed startup? Message-ID: <20040216193951.GA9423@linuxcenter.com.mx> Mail-Followup-To: Tomcat Users List References: <4030DBBB.1080308@babcockbrown.com> <4030E575.1020704@babcockbrown.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4030E575.1020704@babcockbrown.com> User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, Feb 16, 2004 at 03:44:53PM +0000, James Neville wrote: > > Cancel that - this is called *before* any of the servlets are initialised :( > Any better ideas? > James, do you need the servlets to be already initialized??? Because Tomcat can be completly set up, and still none of the servlets being initialied. A servlet initializes the first time it is requested. Therefore, if not invoked, it can pass many hours before it gets initialized. A posible solution could be to add a entry in your web.xml so that the servlet(s) get automatically initialized... Another thing to consider is that the connector between Tomcat and Apache is also set up. Because Tomcat and Apache may be completly set up, but the connector takes a little longer (at lest in my case) therefore you may get a HTTP Error. I hope this helps, let me know how you solved it Jose > > James Neville wrote: > > > > >contextInitialized is what I needed :) > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org