Re: jk connector build / configure failure
On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote: On 4/15/2004 10:28 PM, C. Kukulies wrote: In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build jakarta-tomcat-connectors-jk-1.2.5-src/jk/native Correct me if I'm wrong but I came there by reading and skimming the web. Noone could help me in this list so far. Maybe because everyone is using apache2, don't know. im using debian and ive used its binary apache 1.3 to integrate tomcat 5 with no probs. on a no-X debian hosts, the requirements would be apt-get install apache apt-get install apache-dev (requires libdb2-dev) apt-get install libtool apt-get install automake For the connector tar -xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 sh buildconf.sh ./configure --with-apxs=/usr/bin/apxs make make all cp ../build/jk2/apache13/mod_jk2.so /usr/lib/apache/1.3/ Thanks. I'm using FreeBSD and I found that there was a port (/usr/ports) which applies patches and it seems I have ajk2 connector installed now. -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jk connector build / configure failure
Christoph P. Kukulies said: On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote: On 4/15/2004 10:28 PM, C. Kukulies wrote: In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build jakarta-tomcat-connectors-jk-1.2.5-src/jk/native Correct me if I'm wrong but I came there by reading and skimming the web. Noone could help me in this list so far. Maybe because everyone is using apache2, don't know. We're using Apache 1.3 + mod-ssl + mod_deflate + mod_accel + modJK1.2.5 + Tomcat 5.0.18, and it works great (especially mod_deflate!). Basically when you build Apache (from source on Linux), make sure you build it with so support, eg ./configure --prefix=/usr/local/apache --enable-module=ssl --enable-module=so make; make install; Then get mod_jk source from jakarta.apache.org, and unpack, and build as follows (in the unpacked dir): ./buildconf.sh ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI If you don't yet have a modules directory, then mkdir /usr/local/apache/modules cp apache-1.3/mod_jk.so /usr/local/apache/modules You still have to create a workers.properties file, and add the JKxx settings into your Apache httpd.conf file, to get the two to talk together. I know this instructions are vague, but hopefully in conjunction with others docs, you will be able to get Apache and Tomcat connected using JK. They do work really well together (with Apache frontending your SSL transactions, fielding static resources, compressing responses, and load balancing between two or more TC servers) - it is worth perservering. Good luck. John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jk connector build / configure failure
In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build jakarta-tomcat-connectors-jk-1.2.5-src/jk/native Correct me if I'm wrong but I came there by reading and skimming the web. Noone could help me in this list so far. Maybe because everyone is using apache2, don't know. Anyway, BUILDING says: ./configure --with-apxs=/usr/sbin/apxs Doing that I get (I copied apxs from the apache tree to /usr/sbin): checking for grep... /usr/bin/grep checking for echo... /bin/echo checking for sed... /usr/bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir checking for libtool... /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl could not find /usr/sbin/apxs configure: error: You must specify a valid --with-apxs path Hell, apxs is there in that path. The path *is* correct. From config.log: configure:8172: result: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin :/usr/local/bin:/usr/X11R6/bin:/root/bin configure:8197: result: need to check for Perl first, apxs depends on it... configure:8201: checking for perl configure:8219: found /usr/bin/perl configure:8232: result: /usr/bin/perl configure:8293: result: could not find /usr/sbin/apxs configure:8295: error: You must specify a valid --with-apxs path mybox# ls -l /usr/sbin/apxs -rwxr-xr-x 1 root wheel 26670 Apr 15 15:38 /usr/sbin/apxs mybox# clueless. -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jk connector build / configure failure
On 4/15/2004 10:28 PM, C. Kukulies wrote: In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build jakarta-tomcat-connectors-jk-1.2.5-src/jk/native Correct me if I'm wrong but I came there by reading and skimming the web. Noone could help me in this list so far. Maybe because everyone is using apache2, don't know. Anyway, BUILDING says: ./configure --with-apxs=/usr/sbin/apxs Doing that I get (I copied apxs from the apache tree to /usr/sbin): checking for grep... /usr/bin/grep checking for echo... /bin/echo checking for sed... /usr/bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir checking for libtool... /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl could not find /usr/sbin/apxs configure: error: You must specify a valid --with-apxs path Hell, apxs is there in that path. The path *is* correct. From config.log: configure:8172: result: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin :/usr/local/bin:/usr/X11R6/bin:/root/bin configure:8197: result: need to check for Perl first, apxs depends on it... configure:8201: checking for perl configure:8219: found /usr/bin/perl configure:8232: result: /usr/bin/perl configure:8293: result: could not find /usr/sbin/apxs configure:8295: error: You must specify a valid --with-apxs path mybox# ls -l /usr/sbin/apxs -rwxr-xr-x 1 root wheel 26670 Apr 15 15:38 /usr/sbin/apxs mybox# clueless. -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] im using debian and ive used its binary apache 1.3 to integrate tomcat 5 with no probs. on a no-X debian hosts, the requirements would be apt-get install apache apt-get install apache-dev (requires libdb2-dev) apt-get install libtool apt-get install automake For the connector tar -xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 sh buildconf.sh ./configure --with-apxs=/usr/bin/apxs make make all cp ../build/jk2/apache13/mod_jk2.so /usr/lib/apache/1.3/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]