tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Fowler" <>
Subject RE: problems configuring tomcat/apache
Date Wed, 21 Feb 2001 00:52:40 GMT

You don't need to compile it into apache to install Just compile
it as per instructions on my site and
move it to the libexec directory and do configs as normal.

I have a pre-built copy of for solaris in the downloads section of
the above site. Just copy it to libexec and it should work.

Whether apache is now hosed due to your compilation is another matter. If
apxs saved a backup of the httpd daemon then you should be ok. Try locate
httpd. If not then just get it from a tar.gz somewhere. I always make a
point of backing up the config files and the httpd daemon before I compile
things (frontpage extensions were a bit tempremental to install!)

Hope it works 8o)


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
"Every new beginning comes from some other beginning's end"

-----Original Message-----
From: Jennifer Dyess []
Sent: Tuesday, February 20, 2001 6:53 PM
Subject: problems configuring tomcat/apache

I've followed the doc for compiling and configuring  Everything
*seemed* to work fine.  I'm running solaris on intel, so I compiled from source:

apxs -o -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris
-c *.c ../jk/*.c

like I said, that seemed to work fine, no errors or anything.

Then i copied the to /usr/local/apache/libexec.

Update httpd.confn as follows:

#Load mod-jk - this is the Tomcat Apache plugin
LoadModule    jk_module  libexec/
AddModule     mod_jk.c

#Configure mod_jk
JkWorkersFile /usr/local/jakarta-tomcat/conf/
JkLogFile     /usr/local/apache/logs/mod_jk.log
JkLogLevel    warn

JkMount /*.jsp ajp13
JkMount /JspServlets/* ajp13

But, when I run apachectl configtest, I get the following:

Cannot load /usr/local/apache/libexec/ into server:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/ symbol fdatasync: referenced symbol not

I had mod_jserv installed previously and I believe i've removed all
references to this.

any suggestions?

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

View raw message