Try the following instructions: 1. Download and open mod_jk2. Because binary mod_jk2 is not available for solaris2 OS , we need to download source code (jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz) and compile it. You can download it from http://mirrors.combose.com/apache/jakarta/tomcat-connectors/jk2 page. > gunzip jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz > tar xvf jakarta-tomcat-connectors-jk2-2.0.4-src.tar It created jakarta-tomcat-connectors-jk2-2.0.4-src directory. 2. Compile mod_jk2 connector. (http://soccf-oj-001.ddns.comp.nus.edu.sg/y2004s/docs/bk04apds03.html) In order to compile the mod_jk2 connector we need to refer to the location where Apache server, Tomcat server and JDK are installed. So, make sure they are installed before we can continue. > cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 > chmod u+x buildconf.sh > ./configure --with-apxs2=/development/username/apache2_0_49_ld/bin/apxs --with-tomcat41=/development/appserver/tomcat/nandap2 --with-java-home=/bea2/jdk131 --with-jni > make > libtool -finish /development/username/apache2_0_49_ld/modules > cp jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build/jk2/apache2/mod_jk2.so apache2_0_49_ld/modules > cp jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build/jk2/apache2/libjkjni.so apache2_0_49_ld/modules
Igor. -----Original Message----- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 4:31 AM To: Tomcat Users List Subject: RE: JK2 connector binary for solaris8 Try following the instructions below, these are what I use when building the connector. cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 ./configure --with-apxs2=/usr/local/apache2.0.49/bin/apxs --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.25 \ --with-apr-lib=/usr/local/apache2.0.49/lib --with-java-home=/usr/local/j2sdk --with-jni make cd ../build/jk2/apache2 cp mod_jk2.so /usr/local/apache2.0.49/modules cp libjkjni.so /usr/local/apache2.0.49/modules Obviously you will have to edit the paths i've used here to suit your own environment and you'll need the gnu version of gcc and make at least. Good luck. -----Original Message----- From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 08:36 To: '[EMAIL PROTECTED]' Subject: JK2 connector binary for solaris8 Hi there, I have been strugling to compile Mod_jk2 2.0.4 for solaris8. I have never worked with solaris and compiling C packages. Can any body please help me finding a binary version of Mod_jk2.0.4-SPARK-Solaris8-Apache2.0.49 or proper documentation? I have had already spent 2 weeks for this and no use :-( Most of the documentation I found so far, expects one has the strong background of C, C++ and solaris and not for any specific to versions and platforms Thanks in advance Bhaskar ____________________________________________________________________________ ______________________________________________________ For information about the Standard Bank group visit our web site <www.standardbank.co.za> ____________________________________________________________________________ ______________________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the group. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of the group. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ____________________________________________________________________________ _______________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
