tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarkka Kivikanta <jarkka.kivika...@gmail.com>
Subject Problem with the connector
Date Tue, 14 Jun 2005 10:07:39 GMT
Hi all,

I am having problems with the jakarta-connector version 1.2.13 and tomcat 5.5.9.
The apache version is Apache/2.0.46 (White Box).

I have the following configuration in httpd.conf:
<IfModule !mod_jk.c>
  LoadModule jk_module "/usr/lib/httpd/modules/mod_jk.so"
</IfModule>

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile "logs/mod_jk.log"
JkLogLevel    trace
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat     "%w %V %T"

JkMount /jkmanager/* status
# Send JSPs  for context /examples to worker named worker1
JkMount  /examples/*.jsp worker1



The workers.-properties file looks like this:
ps=/

worker.list=jkstatus,worker1
workers.tomcat_home=/opt/tomcat/jakarta-tomcat-5.5.9
workers.java_home=/opt/jdk1.5.0_03

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=1

# Define a 'jkstatus' worker using status
worker.jkstatus.type=status

The problems is that in the mod_jk.log i will only get
... jk_handler::mod_jk.c (1715): Into handler jakarta-servlet
worker=worker1 r->proxyreq=0
... jk_handler::mod_jk.c (1883): Could not find a worker for worker name=worker1

It seems that the connector does not have the correct configuration?
The JkWorkersFile /etc/httpd/conf/workers.properties is pointing to
the correct configuration file.

Does anyone have any suggestions?

Regards,
Jarkka Kivikanta

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


Mime
View raw message