tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sidney-Woollett" <>
Subject Re: jk connector build / configure failure
Date Fri, 16 Apr 2004 09:29:28 GMT
Christoph P. Kukulies said:
> On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote:
>> On 4/15/2004 10:28 PM, C. Kukulies wrote:
>> >In the vein of getting tomcat 5 apache 1.3.29 integration working
>> >I'm now at the point where I came to the conclusion that I need to
>> build
>> >jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
>> >
>> >Correct me if I'm wrong but I came there by reading and skimming the
>> web.
>> >Noone could help me in this list so far. Maybe because everyone is
>> using
>> >apache2, don't know.

We're using Apache 1.3 + mod-ssl + mod_deflate + mod_accel + modJK1.2.5 +
Tomcat 5.0.18, and it works great (especially mod_deflate!).

Basically when you build Apache (from source on Linux), make sure you
build it with "so" support, eg

./configure --prefix=/usr/local/apache --enable-module=ssl --enable-module=so
make; make install;

Then get mod_jk source from, and unpack, and build as
follows (in the unpacked dir):


./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI

If you don't yet have a modules directory, then

mkdir /usr/local/apache/modules
cp apache-1.3/ /usr/local/apache/modules

You still have to create a file, and add the JKxxxxxx
settings into your Apache httpd.conf file, to get the two to talk

I know this instructions are vague, but hopefully in conjunction with
others docs, you will be able to get Apache and Tomcat connected using JK.

They do work really well together (with Apache frontending your SSL
transactions, fielding static resources, compressing responses, and load
balancing between two or more TC servers) - it is worth perservering.

Good luck.

John Sidney-Woollett

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message