You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jon Stevens <jo...@latchkey.com> on 2001/04/10 22:58:39 UTC

Re: Use of Apache proxy module to connect to Tomcat

on 4/10/01 1:59 PM, "Paulo Gaspar" <pa...@krankikom.de> wrote:

> Is this possible for Tomcat too? Pros and cons?
> 
> Thanks and have fun,
> Paulo Gaspar

Of course it is.

Proxy HTTP is probably not as efficient as a lightweight protocol (ie: AJP),
especially if the two systems are running on the same box (ie: local
sockets).

It also doesn't solve the configuration issues.

All you are doing in this case is putting another layer in front of the
Tomcat HTTPd. I don't see a reason to do that when the Tomcat HTTPd works
just fine. All you are gaining is the Apache module features (like
mod_rewrite).

-jon


RE: Use of Apache proxy module to connect to Tomcat

Posted by Paulo Gaspar <pa...@krankikom.de>.
Thanks Jon,


That gave me a good enough perspective of the pros and cons. I have a 
scenario where using the proxy could actually be better.


Have fun,
Paulo Gaspar

> -----Original Message-----
> From: Jon Stevens [mailto:jon@latchkey.com]
> Sent: Tuesday, April 10, 2001 22:59
> 
> 
> on 4/10/01 1:59 PM, "Paulo Gaspar" <pa...@krankikom.de> wrote:
> 
> > Is this possible for Tomcat too? Pros and cons?
> > 
> > Thanks and have fun,
> > Paulo Gaspar
> 
> Of course it is.
> 
> Proxy HTTP is probably not as efficient as a lightweight protocol 
> (ie: AJP),
> especially if the two systems are running on the same box (ie: local
> sockets).
> 
> It also doesn't solve the configuration issues.
> 
> All you are doing in this case is putting another layer in front of the
> Tomcat HTTPd. I don't see a reason to do that when the Tomcat HTTPd works
> just fine. All you are gaining is the Apache module features (like
> mod_rewrite).
> 
> -jon