Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 27969 invoked from network); 22 Apr 2003 19:02:36 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 22 Apr 2003 19:02:36 -0000 Received: (qmail 26082 invoked by uid 97); 22 Apr 2003 19:04:36 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 26075 invoked from network); 22 Apr 2003 19:04:36 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 22 Apr 2003 19:04:36 -0000 Received: (qmail 26487 invoked by uid 500); 22 Apr 2003 19:02:21 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 26476 invoked from network); 22 Apr 2003 19:02:20 -0000 Received: from web41509.mail.yahoo.com (66.218.93.92) by daedalus.apache.org with SMTP; 22 Apr 2003 19:02:20 -0000 Message-ID: <20030422190225.33545.qmail@web41509.mail.yahoo.com> Received: from [66.214.23.231] by web41509.mail.yahoo.com via HTTP; Tue, 22 Apr 2003 12:02:25 PDT Date: Tue, 22 Apr 2003 12:02:25 -0700 (PDT) From: Mark Eggers Subject: mod_jk2 from source - brief HOW TO To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Folks, I've seen a lot of questions concerning this, so I finally had a go at compilation and installation. This was done on a Redhat Linux (release 9.0) box, but it should be pretty generic and useful for most UNIX-type OS's. I did not use rpm's for either the apache web server (2.0.45 - compiled from source) or tomcat (4.1.24 - installed from binary tarball). I've only tested the network socket connection (ie., port 8009), but I don't see why the other configurations wouldn't work as well. >From a cursory glance at build.xml, it appears that both the tomcat side and the web server side are being built. The first problem appears to happen when Ant looks for tomcat-coyote.jar and can't find it. Even after that is corrected, Ant goes off and looks for other things. I'm just learning Ant at this point, so I'm not sure what a good fix would be. 1. Download jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/ 2. Uncompress it and extract the tar file. 3. cd to jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 4. chmod u+x configure 5. Run configure with: ./configure \ --with-apxs2=/bin/apxs \ --with-tomcat41= \ --with-java-home= \ --with-jni \ --with-pcre For example: ./configure --with-apxs2=/home/apache/bin/apxs \ --with-tomcat41=/home/tomcat \ --with-java-home=/usr/java \ --with-jni \ --with-pcre 6. Run make 7. The two .so files (mod_jk2.so and jkjni.so) will be in: jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2 8. Copy those to files to /modules with the proper permissions. 9. Configure Apache and Tomcat 10. Restart and enjoy As always, I'm not a member of the Apache Software Organization, but just a happy user/developer/sysadmin. Hmmm . . . . a happy sysadmin - now there's an oxymoron. HTH /mde/ just my two cents . . . . __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org