Check the last error message: "wc_get_worker_for_name ajp13".  Your
workers.properties file has a worker called "test1" but the worker being
sought is "ajp13".

If your JkMount commands look like this:

JkMount /*.jsp ajp13

Then change the worker name in workers.properties to "ajp13", not "test1".

John


-----Original Message-----
From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 6:35 PM
To: Tomcat Users List
Subject: Re: jsps and servlets don't work

OK I got the autogenerated conf file to have the jkmounts in it (don't know
why it didn't 
work before), but now whenever I go to a jsp or servlet I get a ServerError.
In my mod_jk.log I get (my loglevel is debug):

[Mon Dec 16 18:30:47 2002]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker[Mon Dec 16 18:30:47 2002]
[jk_uri_worker_map.c 
(477)]: Attempting to map URI '/examples/jsp/snp/snoop.jsp'
[Mon Dec 16 18:30:47 2002]  [jk_uri_worker_map.c (558)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Mon Dec 16 18:30:47 2002]  [jk_uri_worker_map.c (558)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Mon Dec 16 18:30:47 2002]  [mod_jk.c (1668)]: Into handler r->proxyreq=0 
r->handler=jakarta-servlet r->notes=135705328 worker=ajp13
[Mon Dec 16 18:30:47 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Mon Dec 16 18:30:47 2002]  [jk_worker.c (136)]: wc_get_worker_for_name,
done did not 
found a worker

My worker file looks like this:
=========================
workers.apache_log=/usr/local/apache2/logs
workers.tomcat_home=/local/tomcat
workers.java_home=/usr/local/jdk1.4.1
ps=/


worker.list=test1

worker.test1.type=ajp13
worker.test1.host=d1.selectacast.net
#worker.test1.port=8008
worker.test1.port=8009
==========================

Where can I find detailed information on the workers file (besides the
howto) and the 
autogeneration?


> 


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://xis.xtenit.com


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to