Hi all,

Just downloaded, compiled and tried out the new JK2 (v 2.0.4). The Ant build file still doesn't work, and there is one additional step (as defined in your INSTALL.txt), but otherwise the compile went smoothly. The mod_jk2.so file gets copied automatically to the Apache modules directory (so, if you have an existing mod_jk2.so there, better back it up first!), and it seemed to work with my existing UNIX sockets file. (Excellent job, Henri !!)

For those wanting to try out the brand-spanking new JK2 :

1. Download the tarball (if you are using Linux/UNIX)
Binaries are available for Fedora Core 1, SUSE 9.0 and SUSE SLES at : http://apache.oss.eznetsols.org/jakarta/tomcat-connectors/jk2/binaries/linux/
(this is a Singapore mirror. Look for one closer to you)
Sources are available at : http://apache.oss.eznetsols.org/jakarta/tomcat-connectors/jk2/source/


2. I will be using the source tarball here. My configuration is Fedora Core 1, Apache 2.0.48 and Tomcat 5.0.18

3. Go to your download directory and untar the package : tar -zxvf jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz

4. Execute the following commands as root,
[EMAIL PROTECTED] temp]# cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
[EMAIL PROTECTED] native2]# ./configure --with-apxs2=/usr/sbin/apxs
--with-tomcat-41=/opt/tomcat --with-apr-lib=/usr/lib
--with-java-home=/opt/IBMJava2-141 --with-jni
[EMAIL PROTECTED] native2]# make
[EMAIL PROTECTED] native2]# cd ../build/jk2/apache2
[EMAIL PROTECTED] apache2]# /usr/sbin/apxs -n jk2 -i mod_jk2.so

If successful, you should see this :
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/bin/sh
/usr/lib/apr/build/libtool' mod_jk2.so /usr/lib/httpd/modules
/bin/sh /usr/lib/apr/build/libtool --mode=install cp mod_jk2.so
/usr/lib/httpd/modules/
cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so
Warning!  dlname not found in /usr/lib/httpd/modules/mod_jk2.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/httpd/modules/mod_jk2.so

And that's it ! For detailed instructions on configuring it for UNIX sockets, a sample workers2.properties, etc.(you people and your demands ! send me a working configuration, help me with my install, wear the purple thing and dance around ...), please see my Tomcat 5 writeup at http://cymulacrum.net. (Please note that the location of this document will change very, very soon* !) Don't send me bug reports, and if the instructions don't work for you, please post your questions on the mailing list, don't send them to me.

* I can't keep my site open for much longer because the bandwidth costs are killing me.
<grumble>
I get more than 2000 hits everyday now, and it wouldn't kill some of you to at least buy something from my Amazon wish list.
</grumble>
Of course, if you want to send me money, it will be gratefully accepted (contact me off-list), or give me a job !


--
"Men never do evil so completely and cheerfully as when they do it from
religious conviction." -- Blaise Pascal
+----------------------------------------------------------------+
| Pascal Chong |
| email: [EMAIL PROTECTED] |
| |
| Please visit my site at : http://cymulacrum.net |
| If you're using my documentation, please read the Terms and |
| and Conditions at http://cymulacrum.net/terms.html |
+----------------------------------------------------------------+




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



Reply via email to