hi pascal,

that worked! the jk2.socket file is being created and apache seems to be using it after i changed the permissions on the file. but, i am getting the following error when the service starts:

Starting service Tomcat-Standalone
Apache Tomcat/4.1
May 30, 2003 8:38:57 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8180
[Fri May 30 08:38:57 2003] (error ) [jk_config_file.c (279)] config.update(): Can't find config file ${serverRoot}/conf/workers2.properties
[Fri May 30 08:38:57 2003] ( info ) [jk_config.c (251)] config.setAttribute() Error setting config: file ${serverRoot}/conf/workers2.properties
[Fri May 30 08:38:57 2003] ( info ) [jk_logger_file.c (184)] Initializing log file stderr
[Fri May 30 08:38:57 2003] (error ) [jk_shm.c (333)] shm.init(): No file
[Fri May 30 08:38:57 2003] ( info ) [jk_workerEnv.c (403)] workerEnv.init() ok ${serverRoot}/conf/workers2.properties
May 30, 2003 8:38:57 AM org.apache.jk.apr.AprImpl init
INFO: JK2: Initialized apr
May 30, 2003 8:38:57 AM org.apache.jk.common.ChannelUn init
INFO: JK: listening on unix socket: /var/tomcat4/work/jk2.socket
[Fri May 30 08:38:57 2003] ( info ) [jk_jni_aprImpl.c (472)] jkInvoke() invoke 4d434c76
May 30, 2003 8:38:57 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 30, 2003 8:38:57 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/239 config=/var/tomcat4/conf/jk2.properties


why would tomcat be trying to access the workers2.properties file? i thought this file was for the web server.

thanks,


On Gioved�, mag 29, 2003, at 17:02 US/Pacific, Chong Yu Meng wrote:


Vincent J. Buonassisi wrote:

INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path

i read someplace that libjkjni.so should be placed in $catalina_home/bin so i put it in there. but, it didn't make a difference. should it be placed somewhere else?

You need to create a symbolic link from your existing jkjni.so. For example, suppose you have jkjni.so inside /usr/lib/apache, you will need to do this :

ln -s /usr/lib/apache/jkjni.so $JAVA_HOME/jre/bin/libjkjni.so

export LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/ classic:$LD_LIBRARY_PATH

Hope this helps !

Regards,
pascal chong



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to