tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Snelling" <>
Subject Redhat9 / apxs / mod_jk2 build problem.
Date Mon, 12 Jan 2004 12:11:25 GMT
I have been trying to compile the connector, but having

I have the following:
O/S - RedHat9.0
Apache2.0.48 installed from source and working standalone on port 80 &
443 at /usr/local/apache2
jakarta-tomcat-4.1.29 installed and working standalone on port 8080 at
java at /usr/local/j2sdk1.4.2 (also tested and working ok)

Apache was configured as follows:

# ./configure --enable-rewrite --enable-speling --enable-shared=max
--enable-module=so \
> --enable-ssl --enable-cgi --enable-info --enable-usertrack
--enable-deflate \
> --enable-mime-magic --with-ssl=/usr/local/ssl

I obtained jakarta-tomcat-connectors-jk2-src-current.tar.gz and did the

# gunzip jakarta-tomcat-connectors-jk2-src-current.tar.gz
# tar -xvf jakarta-tomcat-connectors-jk2-src-current.tar
# cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
# sh ./
# ./configure --with-apxs2=/usr/local/apache/bin/apxs \
>  --with-tomcat41=/usr/local/jakarta-tomcat-4.1.29 \
>  --with-jni --with-jave-home=/usr/local/j2sdk1.4.2
# make

Now, according to most of the how-tos I have looked at, I should have a
copy of and waiting for me in
Unfortunatly all that is here are the following files:

# ls -l ../build/jk2/apache2/ | grep mod_jk2
-rw-r--r--    1 root     root      3064400 Jan 12 11:48 mod_jk2.a
-rw-r--r--    1 root     root          666 Jan 12 11:48
-rw-r--r--    1 root     root           10 Jan 12 11:48 mod_jk2.lo
-rw-r--r--    1 root     root       103024 Jan 12 11:48 mod_jk2.o

# ls -l ../build/jk2/apache2/ | grep jkjni
-rw-r--r--    1 root     root      2680734 Jan 12 11:48 jkjni.a
-rw-r--r--    1 root     root          728 Jan 12 11:48

I have had a look through the mailing list archives, and have seen this
problem before, but unfortunately I don't see a solution for it.

Any help finding a way forward is appreciated, 

James Snelling

James Snelling


The views expressed here are not those of the Students' Association nor can they be assumed
to be those of the writer. No liability is accepted for the accuracy or the veracity of the
contents. You are held to accept this and any use to which you put any contents of this communication
are entirely your responsibility. 

DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it may contain
confidential or privileged information. If you have received it in error, please notify us
immediately and delete the e-mail. You must not copy, distribute, disclose or take any action
in reliance on it. This e-mail message and any attached files have been scanned for the presence
of computer viruses, however, you are advised that you open any attachments at your own risk.

Nothing in this email shall be construed as constituting an order for goods or services



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

View raw message