[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] mod_jk.so :-(



Remo Meier wrote:
 
> I've installed JDK 1.4 & Tomcat 4.1.24 on an new RAQ 550. I haven't updated
> Apache. When I try to connect Apache <-> Tomcat with mod_jk.so, I get a
> segmentation fault (like others in this mailing list). It was suggested to
> recompile the connector, but I didn't managed it to do it so. I'm not so
> familiar with make,...

Building a new apache module is not *that* hard :

# DOWNLOAD
wget http://jakarta.apache.org/builds/jakarta-tomcat-connectors/\
jk/release/v1.2.2/src/jakarta-tomcat-connectors-jk-1.2.2-src.tar.gz

# UNPACK
tar xfz jakarta-tomcat-connectors-jk-1.2.2-src.tar.gz
cd jakarta-tomcat-connectors-jk-1.2.2-src/jk/native

# BUILD
./configure --with-apxs=/usr/sbin/apxs
make

# INSTALL
cp -b apache-1.3/mod_jk.so /usr/lib/apache
/usr/sbin/httpd -t && /etc/rc.d/init.d/httpd restart

Building with JNI support is left "as an exercise to the reader" ?

--anders

PS. Now, the tricky part is upgrading the "base-java" module...
    (to make the admin web interface work with the new version)