LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2003, 04:13 PM   #1
mattg
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Question 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>
 
Old 11-14-2003, 09:04 AM   #2
mattg
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
fixed

never mind folks figured it out. My workers.properties file has the worker as beeing called worker1 and my mod_jk.conf file was looking for a worker called ajp13
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4 amitkanodia Linux - General 5 12-01-2005 10:43 AM
tomcat error on fc 4 melinda_sayang Fedora 0 06-27-2005 09:00 AM
Apache Tomcat server error?? mlhammer Linux - Software 0 07-31-2004 11:20 PM
setting up apahce Kevin_keith Linux - Software 1 07-05-2003 09:15 AM
Apahce 2.0 / redhat 8.0 KZxHugo79 Linux - Newbie 1 01-09-2003 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration