|
|
Compile and install
Any questions and comments are welcome to me.
The following are reuired:
If you like, you can download and apply my patch to Tomcat. Though Tomcat3.1 runs well with Apache, there are some restrictions. For details about the restricitions and my solutions, please read my documentation. The source distribution of related classes are also available in this page.
The source of the JServ module is supplied with the source distribution of Tomcat3.1. Assuming that Apache is compiled with DSO support, the following shell script compiles and installs the JServ module into Apache:
#!/bin/sh
SRC_DIR=/opt/src
export SRC_DIR
APACHE_HOME=/opt/local/apache
export APACHE_HOME
echo "Start to compile JServ for Tomcat..."
cd ${SRC_DIR}/jakarta-tomcat/src/native/apache/jserv
${APACHE_HOME}/bin/apxs -c mod_jserv.c jserv*.c
${APACHE_HOME}/bin/apxs -i -a -n jserv mod_jserv.so
echo "Done!"
Note that 'SRC_DIR' must point the directory where the source distribution of Tomcat3.1 was extarcted.
Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.
|
|
ALL CONTENTS COPYRIGHT 2000
, Jun Inamori. All rights reserved.
Any questions and comments are welcome to
Jun Inamori
.