Excellent Andrew !! Excellent news ! Sorry I couldn't be more help --
I've been down with a migraine caused by the terrible heat the whole of
Sunday. Can I include this inside my document ? (also, do you know of
any migraine medicine that works ?)
Andrew Clute wrote:
Well, I finally got it work! It took piecing somethings together, but
here is what I did...
On RHEL3 with pretty much stock everything.
my configure:
./configure --with-apxs2=/usr/sbin/apxs --with-apr-lib=/usr/lib
--with-tomcat-41=/usr/local/jakarta-tomcat-4.1.30
--with-java-home=/usr/java/j2sdk1.4.2_04 --with-jni
Then the key to getting libarputil linked into libjkjni.so:
After running .configure, I modified the makefile inside of
./server/apache2. I changed the following block:
ifdef APR_LIBDIR_LA
JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt
else
JK_LDFLAGS=-lcrypt ${APR_LIBS}
endif
to:
ifdef APR_LIBDIR_LA
JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt
else
JK_LDFLAGS=-lcrypt ${APR_LIBS} -laprutil-0
endif
(NOTE: addition of -laprutil-0 to second declaration line)
I had followed this from somewhere else, but added the -laprutil-0 to
the first line, and not the else. When I added it to only the else, it
worked! I am not sure why, my Linux C programing is really rusty, as I
am a Java Developer! :)
Works now! So the original question remains: When HTTPD and Tomcat are
on the same box, is Unix Socket better than TCP? Is there any
discussion about the pros/cons of Unix socket?
On May 15, 2004, at 1:50 PM, Chong Yu Meng wrote:
Andrew Clute wrote:
/usr/sbin/apxs exist -- as I have used it to do the second statement
you talked about. Although I am not sure how running apxs against
mod_jk2.so will change libjkjni.so
Err, it won't. Just reminding you that you have to run it. One last
attempt : did you run buildconfig before configure ? I understand
from someone else running RHEL that you need to run that.
Regards,
pascal chong
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]