You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Sandor <ts...@california-fitness.com> on 2002/08/29 10:49:14 UTC

mod_jk2 - error on tomcat4.0.4 side?

hi all,

I've managed to compile from the CVS source the jakarta-tomcat-connectors
project, and configured tomcat4.0.4 and apache2.0.40 with jk2.properties and
workers2.properties, accordingly. If I start apache and check the
localhost/jkstatus it responds, I guess there's no problem, but on the
tomcat-side if I start it up, it starts, but nothing comes back on port
8080, tomcat doesn't listen. In the catalina.out log file the following
error message appears:

Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
[Wed Aug 28 16:01:24 2002] (error ) [jk_config_file.c (261)]
config.update(): Can't find config file
${serverRoot}/conf/workers2.properties
[Wed Aug 28 16:01:24 2002] ( info ) [jk_config.c (246)]
config.setAttribute() Error setting config: file
${serverRoot}/conf/workers2.properties
[Wed Aug 28 16:01:24 2002] (error ) [jk_logger_file.c (171)]  Initializing
log file stderr
[Wed Aug 28 16:01:24 2002] (error ) [jk_shm.c (333)]  shm.init(): No file
[Wed Aug 28 16:01:24 2002] ( info ) [jk_workerEnv.c (403)]  workerEnv.init()
ok ${serverRoot}/conf/workers2.properties
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] ChannelUn - -JK: listening on unix socket:
/usr/local/jakarta-tomcat-4.0.4/work/jk2.socket
[INFO] JkMain - -Jk running ID=0 time=3/568
config=/usr/local/jakarta-tomcat-4.0.4/conf/jk2.properties
Starting service Tomcat-Apache
Apache Tomcat/4.0.4
[Wed Aug 28 16:01:25 2002] ( info ) [jk_jni_aprImpl.c (470)]  jkInvoke()
invoke 4b9fa760


I have the workers2.properties in /usr/local/apache2/conf, the
jk2.properties in /usr/local/jakarta-tomcat-4.0.4/conf. No matters if I put
workers2 into tomcat conf lib, error always appears.

Does anybody came accross with this situation??? If I install tomcat from
the tar, and start it, it works fine, tomcat index appears on port 8080, but
when I make the changes according to compilation doc found at
http://www.pubbitch.org/jboss/mod_jk2.html it fails with errors witten
above.


Any idea, or help is greatly appreciated, how to get around with this error.

Regards,
Thomas


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>