Trevor, I just went through this myself. I found an excellent how-to at:
http://www.pubbitch.org/jboss/mod_jk2.html Hope that helps. Cheers, Robert -----Original Message----- From: Trevor Hurst <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Fri, 31 Jan 2003 11:27:48 -0800 Subject: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector Greetings, I am having many difficulties building the mod_jk DSO module from the jakarta-tomcat-connectors-4.1.18-src dist. I have successfully built an Apache2.0.44 server with SSL engine static to the server core and it works great in encrypted mode. I've also successfully installed the jakarta-tomcat-4.1.18 bits onto the system and am running the Coyote server and all JSPs were verified and working from the standalone server. I need my Apache2 httpd server to serve up the java apps using Tomcat4.1.18. I've tried everything under the sun to build the mod_jk DSO module to plug into apache2 with no luck: I've tried building from the top level of the tomcat 4.1.18 connectors source and also tried building the jk/native and even the jk/native/apache2 sources by using my ant1.5 install, configure w/ autoconf & make/gmake and then went even further to try and compile with my Apache2 apxs.......... Everything fails. I'm running IRIX 6.5.19 with: Java2 v1.4.0 Development Environment (Sun Java2 SDK v1.4.0) Java2 v1.4.0 Execution Environment (Sun Java2 Runtime Environment v1.4.0) Here's the ant build error output from: jakarta-tomcat-connectors-4.1.18-src/jk eskimo [431] ant Buildfile: build.xml detect: [echo] -------- jakarta-tomcat-connectors -------- prepare: report: [echo] Tomcat33: ${tomcat33.detect} /usr/people/trev/src/jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar [echo] Tomcat40: ${tomcat40.detect} /usr/people/trev/src/jakarta-tomcat-4.0/build [echo] Tomcat41: true /usr/local/jakarta-tomcat-4.1.18 [echo] Tomcat5: ${tomcat5.detect} ../../jakarta-tomcat-5/build [echo] Apache13: ${apache13.detect} ${apache13.home} [echo] Apache2: true /usr/local/apache2 [echo] iPlanet: ${iplanet.detect} ${iplanet.home} [echo] IIS: ${iis.detect} ${iis.home} jkjava: [javac] Compiling 31 source files to /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/build/classes [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/common/JniHandler.java:67: package org.apache.tomcat.util.buf does not exist [javac] import org.apache.tomcat.util.buf.*; [javac] ^ [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/common/JniHandler.java:68: package org.apache.tomcat.util.http does not exist [javac] import org.apache.tomcat.util.http.*; [javac] ^ [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/common/JniHandler.java:70: package org.apache.tomcat.util.threads does not exist [javac] import org.apache.tomcat.util.threads.*; [javac] ^ [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/core/JkHandler.java:65: package org.apache.tomcat.util.handler does not exist [javac] import org.apache.tomcat.util.handler.*; [javac] ^ [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/core/Msg.java:69: package org.apache.tomcat.util.http does not exist [javac] import org.apache.tomcat.util.http.MimeHeaders; [javac] ^ [javac] /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/core/Msg.java:70: package org.apache.tomcat.util.buf does not exist [javac] import org.apache.tomcat.util.buf.*; [javac] ^ ....... .... ....... ....... Am I missing something in my CLASSPATH? I've edited my build.properties to what I think are the correct settings: # Directory where tomcat5 is installed #tomcat5.home= ../../jakarta-tomcat-5/build # Directory where catalina is installed. It can # be either 4.0 or 4.1 tomcat41.home=/usr/local/jakarta-tomcat-4.1.18 # If you want to build/install on both 4.0 # and 4.1, set this to point to 4.0 and 'catalina.home' # to point to 4.0 # ( most people need only the first, but developers should # have both ) #tomcat41.home=../../jakarta-tomcat-4.1/build # Directory where tomcat3.3 is installed #tomcat33.home= ../../jakarta-tomcat/build/tomcat # Location of Apache2, Apache1.3, Netscape, IIS apache2.home=/usr/local/apache2 #apache13.home=/opt/apache13 #iplanet.home=/opt/iplanet6 # iplanet.home=d:/tools/sdk/netscape # iis.home=e:/ # APR location - by default the version included in Apache2 is used. # Don't edit unless you install 'standalone' apr. apr.home=${apache2.home} apr.include=${apr.home}/include apr-util.include=${apr.home}/include apr.lib=${apr.home}/lib apr-util.lib=${apr.home}/lib apache2.lib=${apache2.home}/lib # Compile-time options for native code so.debug=true so.optimize=false so.profile=false -------oOo------- Thanks for any help!! Cheers, -- Trev -- Trevor Hurst Senior Systems Administrator DCO Unix Production Systems Silicon Graphics Office Ph: 650.933.6144 e-mail: [EMAIL PROTECTED] pager: [EMAIL PROTECTED] -- Thus a mind that is free from passion is a very citadel; man has no stronger fortress in which to seek shelter and defy every assault. Failure to perceive this is ignorance; but to perceive it, and still not to seek its refuge, is misfortune indeed. --Marcus Aurelius --------------------------------------------------------------------- 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]