httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John P. Dodge" <>
Subject Re: [users@httpd] mod_jk2 compilation
Date Wed, 16 Apr 2003 18:49:08 GMT
On Wed, 16 Apr 2003, Douglas L Stewart wrote:

> I'm trying to get jk2 2.0.2 compiled for Apache 2.0.45 and Tomcat
> 4.1.24.  I'm on Solaris 8 with GCC 3.2.2 I've installed Apache and
> Tomcat and have them working.  Now I'm trying to figure out how to get
> jk2 compiled and integrated.
> to want it to be both a file and a directory in those two statements,
> so the configure bombs.
> Has anyone had any better luck with jk2?  Anyone know a mailing list
> for it?
I just got jk2 setup and running on my system. You coulg check out the
tomcat-users mail list but here is what I did.

I could not get ant to work either.

in the jk/native2 directory



./configure --with-apxs2=/opt/apache2.0.45/bin/apxs \
--enable-jni \
--with-tomcat40=/opt/tomcat-4.0.4 \


copy ../jk/build/jk2/apache2/ to /opt/apache2.0.45/modules

add to httpd.conf:

LoadModule jk2_module modules/

create <apache home>/conf/workers2/properties

#---- Start of

#The SHM mapping is required

# Example TCP/IP socket channel, explicitly set port and host.

# Example UNIX domain IPC socket

# define the worker
# To use the UNIX domain IPC socket comment out the TCP/IP socket line,
and uncomment the one below
#    channel=channel.un:/usr/local/tomcat/work/jk2.socket

# To use the TCP/IP socket instead, just comment out the above UNIX IPC
line (above), and
# uncomment the one below

# Announce a "status" worker

# Uri mapping
#    worker=ajp13:/opt/tomcat-4.1.24/work/jk2.socket


#---- end of

use the default <tomcat home>/conf/jk2.propertoies

restart tomcat ; restart apache

"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message