Tomcat Java servlet engine | |||||||||||||
| Changed: | |||||||||||||
| < < |
We're using this to support a legacy application written in Java.
| ||||||||||||
| > > |
Versions | ||||||||||||
| Changed: | |||||||||||||
| < < |
More complete docs to follow. | ||||||||||||
| > > |
Tested with Tomcat 4.1.30, Kaffe 1.1.4, mod_jk2 2.0.4, apr 0.9.4 and apr-util 0.9.4. | ||||||||||||
| Changed: | |||||||||||||
| < < |
Compiling mod_jk2: | ||||||||||||
| > > |
OverviewThis document covers the installation of:
InstallationDownload the latest development version of Kaffe. | ||||||||||||
|
| |||||||||||||
| Changed: | |||||||||||||
| < < |
cd jakarta-tomcat-connectors/jk/native2 CC=cc ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/home/ben/apr-0.9.4 --with-apr-util=/home/ben/apr-util-0.9.4 --disable-apr-threads | ||||||||||||
| > > |
tar zxf kaffe-1.1.4.tar.gz
cd kaffe-1.1.4
./configure --prefix=/usr/local/kaffe
make
sudo make install
tar zxf jakarta-tomcat-4.1.30.tar.gz cd jakarta-tomcat-4.1.30 patch -p0 < ../server.xml.patch patch -p0 < ../web.xml.patch cd .. sudo mv jakarta-tomcat-4.1.30 /usr/local/tomcat4 <verbatim> sudo chmod a+x /etc/init.d/tomcat4 sudo update-rc.d tomcat4 defaults <verbatim> sudo /etc/init.d/tomcat4 start <verbatim> tar zxf apr-0.9.4.tar.gz tar zxf apr-util-0.9.4.tar.gz tar zxf jakarta-tomcat-connectors-jk2-src-current.tar.gz BASE_PATH=`pwd` cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 CC=cc ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=$BASE_PATH/apr-0.9.4 --with-apr-util=$BASE_PATH/apr-util-0.9.4 --disable-apr-threads <nop> | ||||||||||||
| make cd ../build/jk2/apache13 sudo /usr/local/apache/bin/apxs -n jk2 -i mod_jk2.so | |||||||||||||
| Added: | |||||||||||||
| > > |
sudo touch /usr/local/tomcat4/conf/jk2.properties
LoadModule jk2_module libexec/mod_jk2.so
<verbatim>
sudo /etc/init.d/tomcat4 restart
sudo /etc/init.d/apache restart
<verbatim>
<IfModule mod_alias.c>
RedirectMatch ^/$ http://example.info/example/
</IfModule>
<nop>
| ||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
Tomcat Java servlet engineWe're using this to support a legacy application written in Java.
More complete docs to follow.
Compiling mod_jk2:
cd jakarta-tomcat-connectors/jk/native2 CC=cc ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/home/ben/apr-0.9.4 --with-apr-util=/home/ben/apr-util-0.9.4 --disable-apr-threads make cd ../build/jk2/apache13 sudo /usr/local/apache/bin/apxs -n jk2 -i mod_jk2.so | |||||||