Hello, I have to use Tomcat 4.1.x and apache 2
1) I attempt to use Tomcat 4.1.10 and mod_jk2 (compile by myself with jakarta-tomcat-connectors-4.1.10-src with help of http://www.pubbitch.org/jboss/mod_jk2.html) For tomcat, I place libjkjni.so in $CATALINA_HOME/lib and put this few lines in jk2.properties # list of needed handlers. handler.list=apr,channelUnix,request # Location of the socket. channelUnix.file=${jkHome}/work/jk2.socket # Dynamic library serverRoot=/usr/local/apache-2.0.43/ apr.NativeSo=${jkHome}/lib/libjkjni.so communication between apache & tomcat works throw the socket file, but i show this line in catalina.out : [jk_config_file.c (261)] config.update(): Can't find config file ${serverRoot}/conf/workers2.properties but /usr/local/apache-2.0.43/conf/workers2.properties exists ... 2) I attempt to use Tomcat 4.1.10 and mod_jk2 (release version 2.0.1 in http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.1) now apr.NativeSo=${jkHome}/lib/jkjni-2.0.so and now i have this in my catalina.out : APR not loaded, disabling jni components: java.io.IOException: /usr/local/jakarta-tomcat-4.1.10-LE-jdk14/lib/jkjni-2.0.so: libapr.so.0: cannot open shared object file: No such file or directory in my apache dir i have a not dynamic library libapr.a 3) I attempt to use Tomcat 4.1.12 and mod_jk2 (with the two version describe above) with the same config , i have now this in my catalina.out : SEVERE: Can't create apr java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) classpath pb ?? Thanks for help !
