Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 45824 invoked from network); 12 Feb 2009 05:08:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 05:08:47 -0000 Received: (qmail 54335 invoked by uid 500); 12 Feb 2009 05:08:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54119 invoked by uid 500); 12 Feb 2009 05:08:36 -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 54108 invoked by uid 99); 12 Feb 2009 05:08:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 21:08:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tomcat.subscription@gmail.com designates 209.85.162.181 as permitted sender) Received: from [209.85.162.181] (HELO el-out-1112.google.com) (209.85.162.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 05:08:28 +0000 Received: by el-out-1112.google.com with SMTP id z25so496352ele.18 for ; Wed, 11 Feb 2009 21:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+gXpbQfuKi1NwOujaZsuaepGalINo8J+PAhW0TbON1E=; b=iIHANX+Vm1gd89Mf33LNJjj6xerhdEKDway9i+afjiwzWfUWyNDzRihvF4paMvmo90 jxHx1gdQnFaXiYUU+Q2wdxg2PALx6BsqWibNJ5wXrco4sL8VTEzqHU/LsTa3qjupR3A3 TCYZCORubSIjxIw7Cr8aa5FRwPqWJ73A31qeg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AYiLMMfs/MgT46KNhGOdavLkYcJWsHCHwpDCruKAuO5Fr2C64pv5GKNOMMkDRIcWIt xjOZ6cwToc6cKGBpBli33eeDW691kIYKGeekciAJHt/kDhuUQyUb9FSwgFJRQU9rDZ4q G9mysoSxfQklbCm0gTke36WFonx//pfpATc1U= MIME-Version: 1.0 Received: by 10.143.15.14 with SMTP id s14mr252190wfi.284.1234415287100; Wed, 11 Feb 2009 21:08:07 -0800 (PST) In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17215B62FA995@USEA-EXCH7.na.uis.unisys.com> References: <176a7eb80902111924t3c945a68nc6e563e4da539e82@mail.gmail.com> <0AAE5AB84B013E45A7B61CB66943C17215B62FA995@USEA-EXCH7.na.uis.unisys.com> Date: Wed, 11 Feb 2009 21:08:07 -0800 Message-ID: <176a7eb80902112108y6edd3f20v43f4a7d867b42cdd@mail.gmail.com> Subject: Re: nio connector configuration From: Peter Warren To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the tips. Very helpful. >> I also get the warning when trying to use keepAliveTimeout. >> Is this property available for the nio connector? > > No; it's only listed under the older connector (the one labeled "Standard Implementation" that then somewhat ambiguously refers to HTTP). I suspected as much, but got confused when I used the acceptCount property and tomcat didn't complain. acceptCount is only listed under the "standard implementation" as well, so I expected a warning. >> '-Dorg.apache.tomcat.util.net.NioSelectorShared=false' did not find a >> matching property. > > Works for me (at least I don't get any error message) on 6.0.18 running with JDK 6u12 on a Vista 64 box; how are you setting the above property, and what are your running on? I was setting it as a property in the connector config. Maybe that was silly of me, but I thought maybe all the properties were localized in the connector. I just tried it as a command-line option and it seemed to work. Interesting side note, with "-Dorg.apache.tomcat.util.net.NioSelectorShared=false" set and selectorPool.maxSelectors="500". My server code starts generating comet END events after about 30 threads start and only about 10 seconds into the test. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org