Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-16 Thread Gabriele Paciucci
I have RHEL3... these are my steps: tar -zxvf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz cd jakarta-tomcat-connectors-jk2-2.0.2-src cd jk/ cd native2/ ./configure --with-java-home=/home/tomcat/j2sdk1.4.2_04 --with-jni --with-to mcat41=/home/tomcat/jakarta-tomcat-5.0.24

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-16 Thread Gabriele Paciucci
On Friday 14 May 2004 17:31, Chong Yu Meng wrote: Hi Andrew ! Oops ! I should have told you also that the Fedora packages do not work on RHEL. Some people already tried it. Hmm... that's odd. Did you install the devel package for httpd also ? I dont't use it Regards, pascal chong

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-16 Thread Andrew Clute
And with this build, you were able to use Unix sockets, versus TCP sockets without getting the apr_md5_final problem? On May 16, 2004, at 7:00 AM, Gabriele Paciucci wrote: I have RHEL3... these are my steps: tar -zxvf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz cd

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol? SUCCESS!!

2004-05-16 Thread Chong Yu Meng
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

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Andrew Clute
Sounds like we are on to something I used the following for my configure: ./configure --with-apxs2=/usr/sbin/apxs --with-tomcat41=/usr/local/tomcat-4.1.30 --with-jni Also here is the output for ldd: [EMAIL PROTECTED] root]# cd /etc/httpd/modules/ [EMAIL PROTECTED] modules]# ldd libjkjni.so

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
Hi Andrew ! Ok, I need to tell you something : it's getting really HOT in Singapore now, and I'm having a little difficulty focusing. And my wife turned on the lamp that is like Kenny Roger's rotisserie machine oven (I think I should just pull out the bulb or something).So I'll try to make this

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Andrew Clute
Not hot here at all in Ohio. Anyways, I tried your suggestion and it did not include the libaprutil. Here is my configure statement: [EMAIL PROTECTED] native2]# ./configure --with-apxs2=/usr/sbin/apxs --with-apr-lib=/usr/lib --with-tomcat-41=/usr/local/jakarta-tomcat-4.1.30

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
Hmm... you have another problem : no apxs given Can you check if you have /usr/sbin/apxs ? I don't know what RHEL names it, apxs or apxs2. Also, there is an additional step, if you are using version 2.0.4 for mod_jk2 : After you have finished configure and make, assuming that your download

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Andrew Clute
/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 -Andrew On May 15, 2004, at 1:00 PM, Chong Yu Meng wrote: Hmm... you have another problem : no apxs given Can you check if

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
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

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Andrew Clute
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

Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Clute, Andrew
We currently have a Windows2000 Apache box that forwards all requests to a RedHat EL3 box running JBoss3.2.3(Tomcat). This works great most of the times -- however we do get sporadic 500 errors on the Apache box (like the Tomcat box doesn't fulfill the requests), and a refresh of the page fixes

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Hi Andrew ! Clute, Andrew wrote: If it is channelUnix, I just now need to figure out this crazy 'undefined symbols: apr_md5_final' error. I wrote a document for compiling mod_jk2 on Fedora Core 1, in which I specified the necessary packages, one of which is the APR libraries. You can find

RE: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Clute, Andrew
I took a look at your document, and tried to follow it, but I couldn't all of the way. You talked about need the apr packages, but those are not an option for install with RHEL3. I downloaded the packages for Fedora, but it would not install because of the following error: [EMAIL PROTECTED]

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Hi Andrew ! Oops ! I should have told you also that the Fedora packages do not work on RHEL. Some people already tried it. Hmm... that's odd. Did you install the devel package for httpd also ? Regards, pascal chong Clute, Andrew wrote: I took a look at your document, and tried to follow it,

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
apr_md5_final is part of the APR utils package. What is that equivalent in RHEL ? (see : http://lxr.webperf.org/ident.cgi?i=apr_md5_final) Do you have a apr-util directory on your system? Clute, Andrew wrote: I took a look at your document, and tried to follow it, but I couldn't all of the

RE: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Clute, Andrew
Yep, did that as well. Any idea what is causing the issue? -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 11:32 AM To: Tomcat Users List Subject: Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol? Hi Andrew ! Oops ! I

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Hi Andrew, See this : http://archives.real-time.com/pipermail/tomcat-devel/2003-June/052811.html Can you locate this file : libaprutil-0.so.0 ? It may be named differently. Regards, pascal chong Clute, Andrew wrote: Yep, did that as well. Any idea what is causing the issue? -Original

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Nikola Milutinovic
Chong Yu Meng wrote: Hi Andrew ! Clute, Andrew wrote: If it is channelUnix, I just now need to figure out this crazy 'undefined symbols: apr_md5_final' error. I wrote a document for compiling mod_jk2 on Fedora Core 1, in which I specified the necessary packages, one of which is the APR

RE: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Clute, Andrew
Yeah, I have the file: [EMAIL PROTECTED] /]# find -name libaprutil-0.so.0 ./usr/lib/libaprutil-0.so.0 Does that help? I tried following directions on that site to no avail. Just so I can understand better, is this unresolved symbol error because the libjkjni.so was built missing a static

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Are you using mod_jk2 binaries (RPM packages) or source ? Clute, Andrew wrote: Yeah, I have the file: [EMAIL PROTECTED] /]# find -name libaprutil-0.so.0 ./usr/lib/libaprutil-0.so.0 Does that help? I tried following directions on that site to no avail. Just so I can understand better, is this

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Hi Nikola , I know what you mean. It is very alarming when you need to install a veritable sh*tload of packages just to get one small connector built.;) This was one of my gripes about Red Hat initially, but now I've learned to tolerate and even love it. ;) Regards, pascal chong Nikola

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Andrew Clute
I originally used the RPM's I found somewhere, but I didn't see the libjkjni.so in it, so I built from source then. On May 14, 2004, at 11:35 PM, Chong Yu Meng wrote: Are you using mod_jk2 binaries (RPM packages) or source ? Clute, Andrew wrote: Yeah, I have the file: [EMAIL PROTECTED] /]# find

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Ok, here's the thing : I suspect that there may be a problem with your configure process. The apr_md5_final error points to libaprutil, and I suspect that libjkjni.so may be missing that reference. Can you provide the options you used for configure ? Also, give me the output for this command :

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Further to my previous message: This is what you should expect to see with ldd jkjni.so after you build it: [EMAIL PROTECTED] apache2]# ldd jkjni.so libcrypt.so.1 = /lib/libcrypt.so.1 (0x008e3000) libapr-0.so.0 = /usr/lib/libapr-0.so.0 (0x00179000) libpcre.so.0 = /lib/libpcre.so.0