You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Marco Laponder <ma...@kewill.com> on 2008/09/25 08:27:51 UTC

apache httpd and geronio

Hi,

I am considering to forward (some) request from my apache httpd
webserver to Geronimo. If I understand correctly there are multiple
options:
- Mod_jk
- Mod_proxy
- Mod_proxy_ajp

What is the preferred way to go , in terms of performance and
functionality ? 

Kind regards,
Marco Laponder


Re: apache httpd and geronio

Posted by Markus Keller <m....@orcasoft.ch>.
Hello Marco, Jason

Jason Warner schrieb:
> Mod_proxy_ajp is a module that works with Mod_proxy to allow a connection
> over ajp rather than http.  The difference in configuration between using
> http or ajp is negligible so I think your choice is really between Mod_proxy
> and Mod_jk.  

To know from my own experience mod_proxy_ajp is the best and 
easiest way to connect apache to tomcat.

The Apache Portable Runtime (APR) based Native library for 
Tomcat is an option to optimize an apache http server in 
association with tomcat. You still need mod_proxy and 
mod_proxy_ajp for apache httpd but on the tomcat side the 
native library is used instead of the Java AJP connector. 
The result is a better perfomance and the JVM must not 
handle the connections. Hope this is a usefull information 
for you.

More information:

http://tomcat.apache.org/tomcat-6.0-doc/apr.html


marc

Re: apache httpd and geronio

Posted by Jason Warner <ja...@gmail.com>.
Hello Marco,

Mod_proxy_ajp is a module that works with Mod_proxy to allow a connection
over ajp rather than http.  The difference in configuration between using
http or ajp is negligible so I think your choice is really between Mod_proxy
and Mod_jk.  I've used Mod_proxy some and found it fairly easy to setup and
use for forwarding requests.  I haven't as of yet set up a Mod_jk
configuration, but I do know that it requires more configuration both in the
apache server and the geronimo server.  Alternatively, Mod_proxy only needs
configuration within the apache server.  From my understanding, Mod_jk
allows for more configuration options and gives a user more control over the
setup.  If all you're going to be doing is forwarding requests, then
Mod_proxy might be easier.  Hopefully this information helps you with your
decision.

On Thu, Sep 25, 2008 at 2:27 AM, Marco Laponder
<ma...@kewill.com>wrote:

> Hi,
>
> I am considering to forward (some) request from my apache httpd
> webserver to Geronimo. If I understand correctly there are multiple
> options:
> - Mod_jk
> - Mod_proxy
> - Mod_proxy_ajp
>
> What is the preferred way to go , in terms of performance and
> functionality ?
>
> Kind regards,
> Marco Laponder
>
>


-- 
~Jason Warner