worket not found error on tomcat/apahce
I have been working on getting apache 2.0 intragrated with tomcat 4.29 I have got the two to work as fas as the tomcat server will service static pages but when I attempt to run a .jsp I get this error in the mod_jk.log file
[Thu Nov 13 14:35:13 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[Thu Nov 13 14:35:13 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worke
r
I would love an help from any one I have been working on this for two days and there is so much documentation and all is a little different.
If it helps I'm running this on slackware 9.0
MATT GIbbs
Here is my worker.properties file
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
and here is the .conf file that apache works off of
########## Auto generated on Wed Nov 12 15:26:42 MST 2003##########
<IfModule !mod_jk.c>
LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/jakarta-tomcat-4.1.29/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-4.1.29/logs/mod_jk.log"
JkLogLevel debug
##<VirtualHost 192.168.101.135>
## ServerName 192.168.101.135
<VirtualHost *:80>
DocumentRoot /home/awregistry/htdocs
ScriptAlias /cgi-bin/ /home/awregistry/cgi-bin/
ServerName web5.hippo.allwest.net
#################### 192.168.101.135:/admin ####################
# Static files
Alias /admin "/usr/local/jakarta-tomcat-4.1.29/webapps/../server/webapps/admin"
<Directory "/usr/local/jakarta-tomcat-4.1.29/webapps/../server/webapps/admin">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/admin/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/admin/META-INF/*">
AllowOverride None
deny from all
</Location>
JkMount /admin/j_security_check ajp13
JkMount /admin/*.do ajp13
JkMount /admin/*.jsp ajp13
#################### 192.168.101.135:/webdav ####################
# Static files
Alias /webdav "/usr/local/jakarta-tomcat-4.1.29/webapps/webdav"
<Directory "/usr/local/jakarta-tomcat-4.1.29/webapps/webdav">
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
</Directory>
# Deny direct access to WEB-INF and META-INF
#
#
<Location "/webdav/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/webdav/META-INF/*">
AllowOverride None
deny from all
</Location>
JkMount /webdav/*.jsp ajp13
#################### 192.168.101.135:/examples ####################
# Static files
Alias /examples "/usr/local/jakarta-tomcat-4.1.29/webapps/examples"
<Directory "/usr/local/jakarta-tomcat-4.1.29/webapps/examples">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
# <Location "/examples/WEB-INF/*">
# AllowOverride None
# deny from all
# </Location>
## <Location "/examples/META-INF/*">
# AllowOverride None
# deny from all
# </Location>
JkMount /examples/jsp/security/protected/j_security_check ajp13
JkMount /examples/snoop ajp13
JkMount /examples/servlet/* ajp13
JkMount /examples/CompressionTest ajp13
JkMount /examples/*.jsp ajp13
JkMount /examples/servletToJsp ajp13
JkMount /examples/SendMailServlet ajp13
#################### 192.168.101.135:/tomcat-docs ####################
# Static files
Alias /tomcat-docs "/usr/local/jakarta-tomcat-4.1.29/webapps/tomcat-docs"
<Directory "/usr/local/jakarta-tomcat-4.1.29/webapps/tomcat-docs">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/tomcat-docs/WEB-INF/*">
AllowOverride None
deny from all
</Location> <Location "/tomcat-docs/META-INF/*">
AllowOverride None
deny from all
</Location>
JkMount /tomcat-docs/*.jsp ajp13
#################### 192.168.101.135:/manager ####################
# Static files
Alias /manager "/usr/local/jakarta-tomcat-4.1.29/webapps/../server/webapps/manager"
<Directory "/usr/local/jakarta-tomcat-4.1.29/webapps/../server/webapps/manager">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/manager/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/manager/META-INF/*">
AllowOverride None
deny from all
</Location> JkMount /manager/list ajp13
JkMount /manager/serverinfo ajp13
JkMount /manager/deploy ajp13
JkMount /manager/sessions ajp13
JkMount /manager/reload ajp13
JkMount /manager/html/* ajp13
JkMount /manager/resources ajp13
JkMount /manager/start ajp13
JkMount /manager/stop ajp13
JkMount /manager/install ajp13
JkMount /manager/*.jsp ajp13
JkMount /manager/roles ajp13
JkMount /manager/remove ajp13
JkMount /manager/undeploy ajp13
</VirtualHost>
|