You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by in...@pobox.com on 2003/11/05 13:10:51 UTC

Obtaining JK2 binaries for Linux

Hi,
I try to set up JK2 for Apache/2.0.40 - Jakarta-Tomcat-4.1.29 on RedHat Linux 9.0.

I cannot find the binary distribution for the connector, or cannot access it !
The only binary distributions availables are for Solaris and Windows :(

I am based in Switzerland and wonder if the "smart" mirrors redirection process
head me to an incomplete mirror ? I tried directly accessing this URL found on
some doc (outside Apache.org):

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/

But keep on being redirected to the official Apache binary download page.

I also tried building the connector from source
(jakarta-tomcat-connectors-jk2-2.0.2-src) but can't manage to have it done.

Any link, advice appreciated

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Obtaining JK2 binaries for Linux

Posted by Andy Eastham <an...@barllama.demon.co.uk>.
Patrick,

I found this, but I did manage to compile them from source.

Unfortunately my notes don't seem to be that good, but here they are:
build mod_jk2:

download connector src:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz

gunzip and untar
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-java-home=/usr/j
ava/j2sdk1.4.2
make

Built libraries are:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz/jk/build/jk2/apache2/mod_jk2.
so
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz/jk/build/jk2/apache2/jkjni.so

Copy these libraries into /usr/local/apache2/modules
cp jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/mod_jk2.so
/usr/local/apache2/modules/
cp jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/jkjni.so
/usr/local/apache2/modules/

Perhaps the options in "configure" above may be helpful?

Andy

> -----Original Message-----
> From: inaminute@pobox.com [mailto:inaminute@pobox.com]
> Sent: 05 November 2003 12:11
> To: Tomcat Users List
> Subject: Obtaining JK2 binaries for Linux
>
>
> Hi,
> I try to set up JK2 for Apache/2.0.40 - Jakarta-Tomcat-4.1.29 on
> RedHat Linux 9.0.
>
> I cannot find the binary distribution for the connector, or
> cannot access it !
> The only binary distributions availables are for Solaris and Windows :(
>
> I am based in Switzerland and wonder if the "smart" mirrors
> redirection process
> head me to an incomplete mirror ? I tried directly accessing this
> URL found on
> some doc (outside Apache.org):
>
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/rele
ase/v1.2.2/bin/linux/i386/

But keep on being redirected to the official Apache binary download page.

I also tried building the connector from source
(jakarta-tomcat-connectors-jk2-2.0.2-src) but can't manage to have it done.

Any link, advice appreciated

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org