tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Cassidy <da...@twocats.co.uk>
Subject Re: Tomcat 6.0 with Apache 2.2 front-end
Date Thu, 29 Nov 2007 15:41:09 GMT
Has anyone got a comparison of the NIO one vs standard java connectors ?
both with and without the native libs ?

Ta


On Thu, 2007-11-29 at 08:38 -0600, Brian Millett wrote:
> Filip Hanik - Dev Lists escribĂ­o:
> > using mod_proxy_http, you want to enable
> > 
> > ProxyPreserveHost On
> > 
> > 
> > Filip
> > loknor wrote:
> >>
> >> Filip Hanik - Dev Lists wrote:
> >>  
> >>> three options
> >>>
> >>> mod_proxy_http
> >>> mod_jk
> >>> mod_proxy_ajp
> >>>
> >>> Filip
> >>>
> >>>
> >>>     
> >>
> >> Yep just found the other option, and a site that got me up to speed very
> >> quickly.  I can now communicate between Apache and Tomcat. 
> >> http://blog.taragana.com/index.php/archive/5-steps-to-integrate-tomcat-55-with-apache-20
> >>
> >>
> >> Thanks,
> >>
> >> Brent
> >>   
> 
> I'd also recommend that you compile the apr native libs for tomcat
> (apache-tomcat-6.0.14/bin/tomcat-native.tar.gz) and enable it when you start
> tomcat by adding "-Djava.library.path=/usr/local/apr/lib" (I installed the lib
> in /usr/local/apr/lib).
> 
> What gives you is the apr interface for handling the http connects.
> 
> from the catalina.out:
> 
> Nov 26, 2007 9:31:10 AM org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 
> This handler scales and is quicker than the java handler.  JBoss calls it
> JBossWeb.  See http://labs.jboss.com/jbossweb/index.html for a nice graph of the
> performance differences between the native apr & java handlers.
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message