I am now using Tomcat5.0.25 as you suggested but still getting same
error. I don't think Apache is even getting to the part where it starts
calling Tomcat (TomcatStarter) because the same error is generated when
I completely remove Tomcat5.0.25 binary distribution from my machine.
I am thinking the solution is in my workers2.properties file but not
sure what it is.
Here is my configuration:
$APACHE_HOME/modules
mod_jk2.so (built from source)
linjkjni.so (built from source)
$APACHE_HOME/conf
workers2.properties
$TOMCAT_HOME/conf
jk2.properties
workers2.properties contain (some unrelated properties omitted)
[uriMap:]
[shm:]
disabled=1
[channel.jni:jni]
disabled=0
[status:]
[vm:]
JVM=/j2sdk-1.4.2_03/jre/lib/i386/server/libjvm.so
OPT=-server
OPT=-Dtomcat.home=TOMCATHOME
OPT=-Dcatalina.home=TOMCATHOME
OPT=-Xnoclassgc
OPT=-Xcheck:jni
OPT=-verbose
classpath=TOMCATHOME/bin/bootstrap.jar
classpath=TOMCATHOME/common/lib/jmx.jar
classpath=TOMCATHOME/server/lib/commons-modeler.jar
classpath=TOMCATHOME/server/lib/tomcat-jni.jar
classpath=TOMCATHOME/common/lib/servlet-api.jar
OPT=-Xrs
[worker.jni:onStartup]
class=org/apache/jk/apr/TomcatStarter
ARG=startd
disabled=0
[worker.jni:onShutdown]
class=org/apache/jk/apr/TomcatStarter
ARG=stopd
disabled=0
Peter Rossbach wrote on 5/26/2004, 12:27 PM:
Hello Timothy,
the JNI integration works only with Tomcat Release greater 5.0.20
and the commands changed to (startd and stopd)
used the coming Tomcat 5.0.25 it is very stable.
(Must add jmx.jar to your classpath)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]