Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 62550 invoked from network); 27 Jul 2007 04:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 04:54:06 -0000 Received: (qmail 94392 invoked by uid 500); 27 Jul 2007 04:54:05 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94348 invoked by uid 500); 27 Jul 2007 04:54:05 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 94337 invoked by uid 99); 27 Jul 2007 04:54:05 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 21:54:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.154.82.3] (HELO cubert.e-centre.net) (66.154.82.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 04:53:59 +0000 Received: from [10.3.1.19] (helo=barracuda2.stayonline.net) by cubert.e-centre.net with esmtp (Exim 4.50) id 1IEHpV-0002h3-QS for dev@geronimo.apache.org; Fri, 27 Jul 2007 00:53:34 -0400 X-ASG-Debug-ID: 1185512012-8025-82-0 X-Barracuda-URL: http://10.3.1.19:8000/cgi-bin/mark.cgi Received: from et-lax-18.site.stayonline.net (unknown [12.49.70.2]) by barracuda2.stayonline.net (Spam Firewall) with ESMTP id D0C55D25195 for ; Fri, 27 Jul 2007 00:53:32 -0400 (EDT) Received: from [192.168.53.74] ([192.168.53.74]) by et-lax-18.site.stayonline.net (8.12.6/8.12.6) with ESMTP id l6R5SeEW031931 for ; Fri, 27 Jul 2007 05:28:40 GMT Message-ID: <46A97A4D.1070209@hanik.com> Date: Thu, 26 Jul 2007 22:53:33 -0600 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: dev@geronimo.apache.org X-ASG-Orig-Subj: Re: Tomcat connectors Subject: Re: Tomcat connectors References: <46A520DB.7030708@apache.org> <46A78BCC.6050208@apache.org> In-Reply-To: <46A78BCC.6050208@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Barracuda Spam Firewall at stayonline.net X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests= X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.49170 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Checked: Checked by ClamAV on apache.org Jeff Genender wrote: > Ok I added a whole bunch of new connectors in the o.a.g.t.connectors > package. > > I am still working on APR - more notes to follow on this as its a little > squirly since the Tomcat Connector somewhat "chooses" this automatically > based on the existence of a native libraries. For the console we may > wish to do a check on whether the native libs exist, and if so, present > the APR connector. More on this in another email. > not really, it works the same as the NIO connector selection, in server.xml if protocol="HTTP/1.1" and the java.library.path contains the TC native library (tcnative.dll or libtcnative.so) then APR is selected. however, the protocol attribute also takes a complete class name, like protocol="org.apache.coyote.http11.Http11Protocol" <-- java blocking connector protocol="org.apache.coyote.http11.Http11NioProtocol" <-- java non blocking connector protocol="org.apache.coyote.http11.Http11AprProtocol" <-- APR connector so there is no need to dabble with the auto select, personally I don't think its very usable feature, since the APR SSL connector has different attributes than the Java SSL connector and the auto select wouldn't work in that scenario anyway. Filip > Here are the connectors we care about at the moment... > > AJP13ConnectorGBean - Implements AJP > Http11ConnectorGBean - Implements blocking Http connector > Https11ConnectorGBean - Implements blocking Https connector > Http11NIOConnectorGBean - Implements non-blocking Http connector > Https11NIOConnectorGBean - Implements non-blocking Https connector > > I have not wired them into the container and other GBeans yet...I want > to clena them up and get any feedback before making the switch since > this obviously will impact the console upon wiring them in. > > As a side note...I am not using any references to the WebManager or > other interfaces we used that hooked into the console. We can re-add > those if those are deemed necessary. > > Jeff > > Paul McMahan wrote: > >> I agree NIO support would be great to have in 2.0, especially since its >> required for comet. >> >> Best wishes, >> Paul >> >> On Jul 23, 2007, at 2:42 PM, Jeff Genender wrote: >> >> >>> Hi, >>> >>> I was going through some JIRAs and the Geronimo2.0 source and noticed it >>> will be difficult at best to get the NIO connector and setting >>> attributes on the APR connector for Tomcat due to its current >>> implementation. I really think the ability to use these 2 connectors is >>> very important for the 2.0 release and I would like to put these in. If >>> there are no objections, I would like this to be a part of the 2.0 >>> release. >>> >>> Jeff >>> > > >