Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0054C1075F for ; Fri, 10 Jan 2014 17:37:36 +0000 (UTC) Received: (qmail 38090 invoked by uid 500); 10 Jan 2014 17:37:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 38005 invoked by uid 500); 10 Jan 2014 17:37:29 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 37987 invoked by uid 99); 10 Jan 2014 17:37:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 17:37:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.97.132.81] (HELO homiemail-a38.g.dreamhost.com) (208.97.132.81) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 17:37:23 +0000 Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id A2DF510AFAB for ; Fri, 10 Jan 2014 09:37:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=adrian.tarau.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= adrian.tarau.org; bh=JX8fEFGJbAd/XynDctWz/Sfti4k=; b=AGYk0LzGSvy 1bI1idA+wlFPn8N5cyJn6ALbGz2VeP09grX1skZKVA/NFjXoa5+ur4wNfl2BW8Sr NptUQwRVLG3bHbUCzfYSK/6ITzhpQ/gXWXHFaoz9x5aUL+ZkALc/XFr6QGSZDsvq g7q4+pTT0pYo5FoJ6Ppl3CzrLKClGTk4= Received: from [192.168.0.35] (adfb35ca.cst.lightpath.net [173.251.53.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mailinglist@adrian.tarau.org) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 5D7E510AFA5 for ; Fri, 10 Jan 2014 09:37:02 -0800 (PST) Message-ID: <52D02FEE.6060709@adrian.tarau.org> Date: Fri, 10 Jan 2014 12:37:50 -0500 From: Adrian Tarau User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Re: Getting 404 before the container starts all servlets References: <52CF5B15.3060303@adrian.tarau.org> <99C8B2929B39C24493377AC7A121E21FC5D16A6A03@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: <99C8B2929B39C24493377AC7A121E21FC5D16A6A03@USEA-EXCH8.na.uis.unisys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I tried with bindOnInit=false and bindOnInit=true, it makes no difference. I'm using tomcat 7.0.34, would this option be available in 7.0.34? Thanks, Adrian Tarau. On 01/09/2014 11:19 PM, Caldarale, Charles R wrote: >> From: Adrian Tarau [mailto:mailinglist@adrian.tarau.org] >> Subject: Getting 404 before the container starts all servlets >> After upgrading Tomcat from 6.X to 7.X, our AJAX client receives 404 for >> 10-15 seconds right after startup. I presume the request is accepted and >> processed before all servlet are initialized, which is not what you >> would expect. >> Is this behavior normal for 7.X? Is there a way to configure 7.x to >> behave like 6.x? > Look at the bindOnInit attribute for elements: > http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation > > But be aware of the side effects as discussed in these threads: > http://marc.info/?l=tomcat-user&m=136386106909331&w=2 > http://marc.info/?l=tomcat-user&m=130549517506701&w=2 > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org