I upgraded tomcat from 4.1.24 to 4.1.29. There are two issues with the new
connector.
1. If I use the old connector 4.1.24 with tomcat 4.1.29, I got this error
but tomcat ran fine.
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError:
/usr/local/j2sdk1.4.2/jre/lib/i386/libjkjni.so: libapr-0.so.0: cannot open
shared object file: No such file or directory
2. So I built new connector 4.1.29 and restarted tomcat. I got the following
error and tomcat won't serve my webapps.
INFO: JK2: ajp13 listening on /0.0.0.0:8009
[Wed Nov 05 11:04:41 2003] ( info ) [jk_config_file.c (280)]
config.update(): Can't find config file
${serverRoot}/conf/workers2.properties
[Wed Nov 05 11:04:41 2003] ( info ) [jk_logger_file.c (184)] Initializing
log file stderr
[Wed Nov 05 11:04:41 2003] ( info ) [jk_shm.c (333)] shm.init(): shm file
not specified
[Wed Nov 05 11:04:41 2003] ( info ) [jk_workerEnv.c (412)] workerEnv.init()
ok ${serverRoot}/conf/workers2.properties
Nov 5, 2003 11:04:41 AM org.apache.jk.apr.AprImpl init
INFO: JK2: Initialized apr
Nov 5, 2003 11:04:41 AM org.apache.jk.apr.AprImpl init
INFO: JK2: Initialized apr
Nov 5, 2003 11:04:41 AM org.apache.jk.server.JkMain start
workers2.properties is located in /usr/local/apache2/conf and readable by
"everyone". I specified shm file in both jk2.properties and
workers2.properties. I found similar postings and replies on the list. That
didn't satisfy me. One suggestion is wrong location. If location is a
problem, why didn't 4.1.24 connector complain?
Does any body have a solution?