Hi,

You don't need to compile it into apache to install mod_jk.so. Just compile
it as per instructions on my site http://willow.cc.edu/docs/adminguide and
move it to the libexec directory and do configs as normal.

I have a pre-built copy of mod_jk.so 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)

Regards,
Adam.

----
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"
----


-----Original Message-----
From: Jennifer Dyess [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: problems configuring tomcat/apache mod_jk.so


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

apxs -o
mod_jk.so -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 mod_jk.so to /usr/local/apache/libexec.

Update httpd.confn as follows:

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

#Configure mod_jk
JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
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/mod_jk.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/mod_jk.so: symbol fdatasync: referenced symbol not
found

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

any suggestions?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to