tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mich...@trollope.org
Subject Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?
Date Thu, 16 Nov 2006 13:53:35 GMT
On Wed, Nov 15, 2006 at 11:25:20PM +0100, Rainer Jung wrote:
> michael@trollope.org schrieb:

> > On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote:
> 
> > Everything I have read says that mod_jk will not work with 2.2.  What
> > little information is available says use the proxy modules.

> There is no known problem concerniong usage of mod_jk in combination
> with Apache 2.2. Grab mod_jk 1.2.19 and build it against apache 2.2
> using the same flags as for 2.0. This will work.

All I can say is that I googled around extensively, trying to learn
how to set up Tomcat 5.5 with Apache 2.2 as the front end, and found
many sites saying to stay away from mod_jk, along with mailing list
messages about the problems people were having with it.  It goes
without saying, that when you have to depend on mailing list messages
for documentation of any problem, you have a high likelihood of
getting it wrong.  Especially when you are under the gun and trying to
complete a project and not wanting to spend all this time figuring out
how to do what ought to be quite straightforward.

The Apache Software Foundation produces some of the best and most
useful software in the world.  They simultaneously produce some of the
worst user documentation for that software.  If you want to achieve a
shortlived feeling of amazement, go to http://www.apache.org and
search for the expression mod_jk.  You'll get four hits for
mod_proxy.  Now search for "mod_jk" (with quotation marks).  You'll
get two mailing list messages from the httpd mailing list.  I can but
shake my head.

> > Then, there are about a zillion ways to proxy and next to NO
> > documentation on actually using them.  

> If you want to use mod_proxy, it is important to know, that most
> documentation for mod_proxy_balancer is contained in apaches
> documentation page for mod_proxy, not on the page for
> mod_proxy_balancer :)

Well, good luck.  I wanted to set up Apache 2.2 with Tomcat 5.5, to
proxy user directories (/home/user/public_html) with Apache to serve
static content and Tomcat to serve JSP/servlets.  Nothing.
Zip. Nada.  I know I'm not the only person that ever wanted to do
this.  But I could not find documenation anywhere.  Hell, I'd buy the
book if there was one available.

It really made me appreciate how well-organized other free software
projects are, that do provide targeted documentation for their end
users. 

Thanks.

mp

-- 
Michael Powe		michael@trollope.org		Naugatuck CT USA
"After I asked him what he meant, he replied that freedom consisted of
the unimpeded right to get rich, to use his ability, no matter what the
cost to others, to win advancement." -- Norman Thomas

Mime
View raw message