Obtaining JK2 binaries for Linux

2003-11-05 Thread inaminute
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Obtaining JK2 binaries for Linux

2003-11-05 Thread Andy Eastham
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Obtaining JK2 binaries for Linux

2003-11-05 Thread patrick . refondini
Quoting Andy Eastham [EMAIL PROTECTED]:

Thanks a million, just a few lines but it helped me a lot :)

I succeeded in building mod_jk2.so, jkjni.so 
I had to download apache to get the missing apxs.

Now getting busy testing ... Thanks again, Patrick


 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 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]