Re: Mod_jk on Solaris - has anyone actually ever built it?
I built it for Solaris 8. Good luck building it for 6, it took me three days and 2 reinstalls of the OS to get it to build on 8. John Max Jester wrote: Help! I am having trouble building mod_jk.so on Solaris 2.6 - and the binary directory for 2.6 at the jakarta site is empty. Has anyone actually succeeded in getting it built from source? The instructions don't seem to refer to the actual directory layout. Or, failing that, can anyone point me to an ftp site that has the built module? Thanks Max - 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]
Re: Mod_jk on Solaris - has anyone actually ever built it?
You might want to try JK2. I am able to build mod_jk2.so on Solaris 7 and 2.6 and 7 are pretty close to each other. You might want to give it a whirl. -e On Fri, 25 Jul 2003, John Turner wrote: I built it for Solaris 8. Good luck building it for 6, it took me three days and 2 reinstalls of the OS to get it to build on 8. John Max Jester wrote: Help! I am having trouble building mod_jk.so on Solaris 2.6 - and the binary directory for 2.6 at the jakarta site is empty. Has anyone actually succeeded in getting it built from source? The instructions don't seem to refer to the actual directory layout. Or, failing that, can anyone point me to an ftp site that has the built module? Thanks Max - 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]
Re: Mod_jk on Solaris - has anyone actually ever built it?
I've built it many times on 2.7 ;-). On 2.6, I've only ever built version 1.1 (the one that ships with TC 3.3). The PITA part of the process is to install the GNU tools that it requires. This means 'libtool', 'autoconf', 'automake', and 'GNU make'. Also, at least while you are building, 'GNU make' needs to be in front of 'Solaris make' in your path. Max Jester [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Help! I am having trouble building mod_jk.so on Solaris 2.6 - and the binary directory for 2.6 at the jakarta site is empty. Has anyone actually succeeded in getting it built from source? The instructions don't seem to refer to the actual directory layout. Or, failing that, can anyone point me to an ftp site that has the built module? Thanks Max - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk on solaris
Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk on solaris
By chance did you not compile Apache with DSO support on the Solaris machine? I don't remember specifically about RH7.2 but I've seen where the RPM version of apache are precomiled with DSO support so they can optionally install mod_X from an RPM with out needing to rebuild apapche. On Thu, 2002-07-25 at 11:14, Andrew wrote: Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Sean M. Alderman ITRACK Systems Analyst PACE/NCI - NASA Glenn Research Center (216) 433-2795 Calling a windowed operating system Windows is like naming an automobile Wheels. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Assuming you have gcc installed: Try making a symbolic link from /usr/local/lib/libgcc_s.so.1 into /usr/lib/libgcc_s.so.1 and /usr/lib/libgcc_s.so then recompiling apache. Bruce Luxon -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
gcc is installed =) I figured out what's the problem now. The mod_jk.so I'm using wasn't compiled under Solaris. So everything worked after I got the right mod_jk.so. Thanks for all your help Andrew -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:31 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Where did you find the mod_jk binary? -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:56 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris gcc is installed =) I figured out what's the problem now. The mod_jk.so I'm using wasn't compiled under Solaris. So everything worked after I got the right mod_jk.so. Thanks for all your help Andrew -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:31 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk for solaris
It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! The build script is obsolete and you should use instead Makefile.linux, may be by adapting it. A better solution is to take a look a jakarta-tomcat-connectors where mod_jk use autoconf stuff which should help you. j-t-c is a separate tomcat sub-project you could grab by cvs... I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
Re: mod_jk for solaris
Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
RE: mod_jk for solaris
AB, I am also in the group...let me know if you find it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
RE: mod_jk for solaris
Yep! and if I find it I'll send it to you. I am recompileng Apache woth the mod_so configured in so I hope the apxs stuff will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
RE: mod_jk for solaris
Well NOW I've done it. I recompiled Apache and now it won't start. It doesn't like the httpd.conf file. Paul -Original Message- From: Nance, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:26 AM To: '[EMAIL PROTECTED]' Subject: RE: mod_jk for solaris AB, I am also in the group...let me know if you find it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
RE: mod_jk for solaris
I have just finished compiling mod_jk.so for solaris 8 using gcc 2.9.5 so I know it works :) The problem that I was having involved getting a rc=255 error at the end of the apxs procedure. This was fixed by adding /usr/ccs/bin to the path(this is where ld lives). The following is the script that I used to compile, please note that everything below the export commands is one line. cd $TOMCAT/src/native/apache1.3 --start script #!/usr/bin/bash export APACHE_HOME=/usr/local/apache export PATH=$PATH:/usr/ccs/bin /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c ---end script--- -James -Original Message- From: Paul Lombardo [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:52 AM To: [EMAIL PROTECTED] Subject: RE: mod_jk for solaris Yep! and if I find it I'll send it to you. I am recompileng Apache woth the mod_so configured in so I hope the apxs stuff will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
Re: mod_jk for solaris
Hi, I have a random solaris mod_jk.so at http://users.aber.ac.uk/tomcat/ you can try that. If u get one built (build instructions also above...somewhere!) then gimme an e-mail with mod_jk.so and platform details (ie tomcat/apache/solaris ver and processor) Thanks, Adam. On Thursday 12 July 2001 12:40, you wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf Content-Type: text/x-vcard; charset=iso-8859-1; name=Paul V. Lombardo (Business Fax).vcf Content-Transfer-Encoding: base64 Content-Description: Paul V. Lombardo (Business Fax).vcf
Re: mod_jk for solaris
Hi, Now that rings a bell! 8o) I'm sure I've covered this in my tomcat installation how-to. Take a gander about http://willow.cc.edu/adminguide. If its not there then try http://users.aber.ac.uk/aff9 as it will be up there soon (ish) It's due to you needing certain tomcat specific parameters at the end of your httpd.conf that are from mod_jk.conf. It's not documented and is a hack rather than a real method. But it works 8o) Adam. On Thursday 12 July 2001 16:16, you wrote: Well NOW I've done it. I recompiled Apache and now it won't start. It doesn't like the httpd.conf file. Paul -Original Message- From: Nance, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:26 AM To: '[EMAIL PROTECTED]' Subject: RE: mod_jk for solaris AB, I am also in the group...let me know if you find it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
Re: mod_jk for solaris
Hi, If u2 get this sorted can u send me the mod_jk.so file, build script and details of environment (tomcat/OS/apache versions) I'm making a repository at http://users.aber.ac.uk/aff9 Thanks, Adam. On Thursday 12 July 2001 15:51, you wrote: Yep! and if I find it I'll send it to you. I am recompileng Apache woth the mod_so configured in so I hope the apxs stuff will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
RE: mod_jk for solaris
I was also having problems building apache to allow for mod_jk under Linux. I got a bunch of errors when I ran: $./configure --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max $make $make install I recieved several error msgs about my httpd.conf file. :o( . I had a hunch that the build script wasn't cleaning the target directories so I blew it away manually using: $rm -f -R /usr/local/apache I then repeated the procedure the configure/make procedure as stated above and did a sanity check by firing up apache: $/usr/local/apache/bin/apachectl start Just like magic, the previous httpd.conf error messages went away! :o) Everything seems okay so far, but I still have a few more things to do... Hope this helps! Rob -Original Message- From: Adam Fowler [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi, If u2 get this sorted can u send me the mod_jk.so file, build script and details of environment (tomcat/OS/apache versions) I'm making a repository at http://users.aber.ac.uk/aff9 Thanks, Adam. On Thursday 12 July 2001 15:51, you wrote: Yep! and if I find it I'll send it to you. I am recompileng Apache woth the mod_so configured in so I hope the apxs stuff will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk for solaris Hi Paul, It appears we are fighting the same battle at the same time. I have ripped through this for an entire night. Not only isn't there a build script for solaris in the default tar, the apxs compile directions are wrong! I have simply asked some one for a recompiled version. It is easier. BTW, then you have to work with the mod_jk.conf file and start configuring what gets passed. If I get the file, I will send it to you. ab Paul Lombardo wrote: Good morning all - I am attempting to setup and configure Tomcat 3.2.2. to use with Apache 1.3.x on a Solaris 2.6 machine. I have Apache in and running. I have Tomcat installed and handling requests on port 8080. I now need to set things up so that Apache will hand off requests for jsp to tomcat and I am assuming that for that I need to setup mod_jk (or is that mod_jk.so) Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I have: Makefile.freebsd Makefile.linuxMakefile.nw mod_jk.c mod_jk.dsp I don't see one for Solaris. I went tp the web and downloaded a mod_jk.so and tried that, but upon inspection the source file was full of garbage and was useless. I am so close I can taste it. any suggestions? Paul This document may contain confidential information, as well as proprietary information, of ICICI Infotech, Inc. Your company and its employees agree to keep the material in this document confidential and any violation of this paragraph is strictly prohibited. Paul V. Lombardo (Business Fax).vcf
Re: mod_jk on Solaris 8
Okay, seems like this system is missing even more things. I look at this line: my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/expat-lite`../apaci`); And I quickly realize that I more than likely do not have expat-lite (assuming that that is what apxs is looking for,). If that is the case where can I find this code? Thanks. Ryan-
Re: mod_jk on Solaris 8
Just ignore that directive for mod_jk. Did you try to fix your apxs script and recompile mod_jk? On Fri, 30 Mar 2001, Ryan J. McDonough wrote: Okay, seems like this system is missing even more things. I look at this line: my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/expat-lite`../apaci`); And I quickly realize that I more than likely do not have expat-lite (assuming that that is what apxs is looking for,). If that is the case where can I find this code? Thanks. Ryan- "Mon aeroglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services Group
Re: mod_jk on Solaris 8
I am no 100% that this is a base installation and it does not have the development tools installed. I have gotten the to install the GNU tools but I'm running into another snag. I decided to take your advice and get the 3.3M2 sources and use that build script. The APXS script is set to use cc as the compiler, which throws the same "language" error as before. I made a copy of apxs and changed the compiler to gcc. Now I get this error: Building mod_jk gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -G -Kpic -I/usr/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c ../common/jk_ajp12_worker.c gcc: unrecognized option `-Kpic' And it hangs there for ever. What else do I need to do? Thanks. Ryan- On Wednesday, March 28, 2001, at 07:44 PM, Mike Braden wrote: OK. Try this: # file `which cc` /usr/ucb/cc:executable /usr/bin/sh script Solaris 8 ships with a batch file called cc in /usr/ucb For a compiler, download the gcc package from http://www.sunfreeware.com as for make, you should check your path. Make is in /usr/cc/bin # which make /usr/ccs/bin/make If make is not located there, then you should check to see if the system was setup with the Entire Distribution or developers distribution options. If it was installed with only the base distribution (packages), then the libraries and utilities for compiling software will not be installed. Also note, you'll have much better luck building mod_jk if you build apache from source. There is a build script in the TC3.3m2 package for mod_jk that can be used with any TC3 version. Mike. -- Mike Braden [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 4:48 PM To: [EMAIL PROTECTED] Subject: mod_jk on Solaris 8 I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-
Re: mod_jk on Solaris 8
Here is the apxs configuration section using gcc: ## ## Configuration ## my $CFG_TARGET= q(httpd);# substituted via Makefile.tmpl my $CFG_CC= q(gcc);# substituted via Makefile.tmpl my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/ expat-lite `../apaci`);# substituted via Makefile.tmpl my $CFG_CFLAGS_SHLIB = q(-fPIC -DSHARED_MODULE); # substituted via Makefile.tmpl my $CFG_LD_SHLIB = q(ld); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl my $CFG_LIBS_SHLIB= q();# substituted via Makefile.tmpl my $CFG_PREFIX= q(/export/home/test/apache8368);# substituted via APACI install my $CFG_SBINDIR = q(/export/home/test/apache8368/bin); # substituted via APACI install my $CFG_INCLUDEDIR= q(/export/home/test/apache8368/include);# substituted via APACI install my $CFG_LIBEXECDIR= q(/export/home/test/apache8368/libexec);# substituted via APACI install my $CFG_SYSCONFDIR= q(/export/home/test/apache8368/conf);# substituted via APACI install On Thu, 29 Mar 2001, Ryan J. McDonough wrote: Building mod_jk gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -G -Kpic -I/usr/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c ../common/jk_ajp12_worker.c gcc: unrecognized option `-Kpic' And it hangs there for ever. What else do I need to do? -- "Mon aeroglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services Group
Re: mod_jk on Solaris 8
You'll need to install a binary gcc in your own directory if you don't have root. SUN charges for the cc compiler so that's your best option. after installing gcc, make sure /usr/ccs/bin is in your path as well for the linker and other required tools. there is also a version of make in /usr/ccs/bin, though I don't like it as much as gmake. which you can download and compile after installing gcc. "Ryan J. McDonough" wrote: I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-
Re: mod_jk on Solaris 8
If your client got the minimal Solaris 8 configuration then he probably did not register most of the software that came with the box. You will have to get cc and make somewhere else unless he registers the software that is on the CDs. Good luck. gp --- "Ryan J. McDonough" [EMAIL PROTECTED] wrote: I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan- __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text
RE: mod_jk on Solaris 8
OK. Try this: # file `which cc` /usr/ucb/cc:executable /usr/bin/sh script Solaris 8 ships with a batch file called cc in /usr/ucb For a compiler, download the gcc package from http://www.sunfreeware.com as for make, you should check your path. Make is in /usr/cc/bin # which make /usr/ccs/bin/make If make is not located there, then you should check to see if the system was setup with the Entire Distribution or developers distribution options. If it was installed with only the base distribution (packages), then the libraries and utilities for compiling software will not be installed. Also note, you'll have much better luck building mod_jk if you build apache from source. There is a build script in the TC3.3m2 package for mod_jk that can be used with any TC3 version. Mike. -- Mike Braden [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 4:48 PM To: [EMAIL PROTECTED] Subject: mod_jk on Solaris 8 I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-