Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Getting JK2 to work with Apache 2.0.46

Rick Salsa

2003-06-07

Replies:

Hi all,

I'm trying to get mod_jk2.so working with Apache 2.0.46 on Mandrake
Linux. I'm using mod_jk.so-ap2.0.46-rh72 and jk_jnicb.so-rh72 that I
grabbed from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.4/bin/linux/. Both of these are installed in apache's modules
directory. I've got the following in httpd.conf:

LoadModule jk2_module    modules/mod_jk2.so

When I run apachectl configtest, I get:

Syntax error on line 47 of /usr/local/apache/conf/httpd.conf:
Can't locate API module structure `jk2_module' in file
/usr/local/apache/modules/mod_jk2.so:
/usr/local/apache/lib/libapr-0.so.0: undefined symbol: jk2_module

If I change jk2_module to jk_module, it doesn't give an error, but when
I try to use a JkUriSet, I'll get an error there. Anyone have any ideas?

Thanks!
/rick
©2008 junlu.com - Jax Systems, LLC, U.S.A.