work
directory:
/etc/init.d/gsrc stop rm /usr/local/tomcat/logs/*; rm -rf /usr/local/tomcat/work/Standalone/localhost/* /etc/init.d/gsrc start
/usr/local/tomcat/logs
catalina.out
catalina_log.2008-12-19.txt
andrewsj_log.2008-12-19.txt
chessj_log.2008-12-19.txt
embeddedj_log.2008-12-19.txt
localhost_access_log.2008-12-19.txt
localhost_log.2008-12-19.txt
trustj_log.2008-12-19.txt
mod_jk.log
/usr/local/apache/conf/tomcat-mod_jk.conf
refers to the proper mod_jk.so
file and
that mod_jk.so
is present
mod_jk.so
.
However, Working with mod_jk from tomcat-4.0
says
Note: The version of mod_jk is not dependent on the version of Tomcat. The Tomcat 3.3 distribution of mod_jk will function correctly with Tomcat 4.x and other 3.x versions of Tomcat, such as Tomcat 3.2.1.FWIW: Preparing a Javapages release.
When I update libexec/mod_jk.so with the new version and restart, catalina.out contains:
Stopping service Tomcat-Standalone mod_jk location: libexec/mod_jk.so Make sure it is installed corectly or set the config location UsingThe "Make sure it is installed corectly" comes from: ApachConfig.java which is trying to write a new configuration file.Starting service Tomcat-Standalone
It looks like these message appear if one runs
/etc/init.d/gsrc start
in a directory other
than /usr/local/apache
- the problem is
that libexec/mod_jk.so
must exist.
tomcat-3.3 mod_jk howto suggests:
$APACHE_HOME/bin/apachectl configtestto determine whether to compile with EAPI