RE: mod_jk is garbled? Garbled? I got the binary...
MOD_JK present on jakarta.apache.org in RPM are BUILT AGAINST MOD_SSL (EAPI) Could you check the mailing list archive before asking this since it has been allready explained http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg09075.html - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From: Scott Merritt [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 12:20 AM To: '[EMAIL PROTECTED]' Subject: mod_jk is garbled? Garbled? I got the binary... Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? What's the deal with that? Any ideas? Tried compiling myself, but apxs dies at the end. I got it from the linux dir, and I'm running Redhat 7.0 Thanks..
RE: mod_jk is garbled? Garbled? I got the binary...
Hi Scott, I still have problems with my installation but it seems that you've succeded installing apache-tomcat. I have some questions for you: When you finally managed starting Apache after getting mod_jk.so, could you access http://localhost/examples inmediately or you have to do something else?, that's because I've tried almost everything and Apache-Tomcat doesn't work (it seems that Apache can't see when certain request belongs to Tomcat). After all I think that I've made something wrong (don't know what) in my RedHat installation. I have RedHat7.0 too, but I'd like to know the options you've installed it with. (sever, worstation, with/without Apache1.3.12, etc). Thanks in advance. Renato Awesome, I guess the docs are just really misleading. I downloaded a binary of mod_jk from the 3.3m3 and that works with my 3.2.1 Tomcat install fine, but was able to build it myself with what you gave me. I would've never gotten that on my own... Thanks! -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 4:44 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk is garbled? Garbled? I got the binary... I had the same problem and, definetely, you have to build your own mod_jk.so. Try downloading another version of Apache (not installing it)and use it's apxs. I have 1.3.19 and it works fine, only follow the mod_jk page instructions: Make sure you have Perl 5 installed. The apxs script used to build the module is written in Perl. Change directory to jakarta- tomcat/src/native/apache1.3 (or apache2.0). Run the apxs command that came with your apache distribution (hint: look in /usr/local/apache/bin, /usr/sbin, or wherever you intalled apache). Type the command all on one line. For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include - I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Good luck! Renato Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? What's the deal with that? Any ideas? Tried compiling myself, but apxs dies at the end. I got it from the linux dir, and I'm running Redhat 7.0 Thanks.. -- --
RE: mod_jk is garbled? Garbled? I got the binary...
Well, it works half way... When I hit localhost/examples I get a directory listing, and if I click on the JSP folder I can view the index.html in there, but it can't seem to find the JSP files. Not sure about that... I did a custom install where I picked which packages I wanted, but it's essentially a server setup. -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: RE: mod_jk is garbled? Garbled? I got the binary... Hi Scott, I still have problems with my installation but it seems that you've succeded installing apache-tomcat. I have some questions for you: When you finally managed starting Apache after getting mod_jk.so, could you access http://localhost/examples inmediately or you have to do something else?, that's because I've tried almost everything and Apache-Tomcat doesn't work (it seems that Apache can't see when certain request belongs to Tomcat). After all I think that I've made something wrong (don't know what) in my RedHat installation. I have RedHat7.0 too, but I'd like to know the options you've installed it with. (sever, worstation, with/without Apache1.3.12, etc). Thanks in advance. Renato Awesome, I guess the docs are just really misleading. I downloaded a binary of mod_jk from the 3.3m3 and that works with my 3.2.1 Tomcat install fine, but was able to build it myself with what you gave me. I would've never gotten that on my own... Thanks! -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 4:44 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk is garbled? Garbled? I got the binary... I had the same problem and, definetely, you have to build your own mod_jk.so. Try downloading another version of Apache (not installing it)and use it's apxs. I have 1.3.19 and it works fine, only follow the mod_jk page instructions: Make sure you have Perl 5 installed. The apxs script used to build the module is written in Perl. Change directory to jakarta- tomcat/src/native/apache1.3 (or apache2.0). Run the apxs command that came with your apache distribution (hint: look in /usr/local/apache/bin, /usr/sbin, or wherever you intalled apache). Type the command all on one line. For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include - I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Good luck! Renato Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? What's the deal with that? Any ideas? Tried compiling myself, but apxs dies at the end. I got it from the linux dir, and I'm running Redhat 7.0 Thanks.. -- --
RE: mod_jk is garbled? Garbled? I got the binary...
Actually I just found out that http://localhost/examples IS working, /examples isn't working on any virtual hosts... Damn. Almost there. I guess I have to RTFM. -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: RE: mod_jk is garbled? Garbled? I got the binary... Hi Scott, I still have problems with my installation but it seems that you've succeded installing apache-tomcat. I have some questions for you: When you finally managed starting Apache after getting mod_jk.so, could you access http://localhost/examples inmediately or you have to do something else?, that's because I've tried almost everything and Apache-Tomcat doesn't work (it seems that Apache can't see when certain request belongs to Tomcat). After all I think that I've made something wrong (don't know what) in my RedHat installation. I have RedHat7.0 too, but I'd like to know the options you've installed it with. (sever, worstation, with/without Apache1.3.12, etc). Thanks in advance. Renato Awesome, I guess the docs are just really misleading. I downloaded a binary of mod_jk from the 3.3m3 and that works with my 3.2.1 Tomcat install fine, but was able to build it myself with what you gave me. I would've never gotten that on my own... Thanks! -Original Message- From: Renato Salazar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 4:44 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk is garbled? Garbled? I got the binary... I had the same problem and, definetely, you have to build your own mod_jk.so. Try downloading another version of Apache (not installing it)and use it's apxs. I have 1.3.19 and it works fine, only follow the mod_jk page instructions: Make sure you have Perl 5 installed. The apxs script used to build the module is written in Perl. Change directory to jakarta- tomcat/src/native/apache1.3 (or apache2.0). Run the apxs command that came with your apache distribution (hint: look in /usr/local/apache/bin, /usr/sbin, or wherever you intalled apache). Type the command all on one line. For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include - I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Good luck! Renato Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? What's the deal with that? Any ideas? Tried compiling myself, but apxs dies at the end. I got it from the linux dir, and I'm running Redhat 7.0 Thanks.. -- --
Re: mod_jk is garbled? Garbled? I got the binary...
I had the same problem and, definetely, you have to build your own mod_jk.so. Try downloading another version of Apache (not installing it)and use it's apxs. I have 1.3.19 and it works fine, only follow the mod_jk page instructions: Make sure you have Perl 5 installed. The apxs script used to build the module is written in Perl. Change directory to jakarta-tomcat/src/native/apache1.3 (or apache2.0). Run the apxs command that came with your apache distribution (hint: look in /usr/local/apache/bin, /usr/sbin, or wherever you intalled apache). Type the command all on one line. For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include - I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Good luck! Renato Upgraded Apache to 1.3.20, got Tomcat 3.2.1. Downloaded binary of mod_jk, but when it tries to load it I get: Starting httpd: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk_set.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? What's the deal with that? Any ideas? Tried compiling myself, but apxs dies at the end. I got it from the linux dir, and I'm running Redhat 7.0 Thanks.. --