Hi

Do you know where can i find the most complet
documentation on mod_jk2 (compilation, installation configuration ...)

In another thread somebody write about John Turner's excellent web page ?

where can i find it ?

Thks

----- Original Message -----
From: "Maxime" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 10:09 AM
Subject: mod_jk2 & tomcat problems


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 !






--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to