You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Frank Garber <ga...@yahoo.com> on 2003/03/20 14:58:40 UTC

Worker found, but not doing any work?

I'm using Tomcat 4.1.18 with Apache 2.0.44.  When I browse directly to the
Tomcat examples all the servlets and JSPs work fine.  I'm having trouble
accessing the examples through apache.

I've found numerous examples on the web for setup.  Each is different and
unfortunately, none of them has worked!  I've gotten to the point with I can
display all the static content and can see from the mod-_jk.log file that I
have found a worker.  Its just the worker is returning 404 and I don't know
why??

Any thoughts would be GREATLY appreciated.

Thanks,

F

[Thu Mar 20 08:58:15 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI
'/jsp/dates/date.jsp'
[Thu Mar 20 08:58:15 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (1668)]: Into handler r->proxyreq=0
r->handler=jakarta-servlet r->notes=7932888 worker=ajp13
[Thu Mar 20 08:58:15 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Thu Mar 20 08:58:15 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, done 
found a worker
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (485)]: agsp=80 agsn=www.fcgphoto.com
hostn=www.fcgphoto.com shostn=www.fcgphoto.com cbsport=0 sport=0 
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (132)]: Into jk_open_socket
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 664
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (148)]: jk_open_socket, after connect
ret = 0
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (157)]: jk_open_socket, set
TCP_NODELAY to on
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (174)]: jk_open_socket, return, sd =
664
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (614)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 664
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #581
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13 #81
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (483)]: ajp_unmarshal_response:
status = 404
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response:
Number of headers is = 2
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[1] [Content-Language] = [en-US]
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13 #726
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (386)]: writing 722 (722) out of 722 
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13 #2
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1382)]: Into jk_endpoint_t::done,
recycling connection
[Thu Mar 20 08:58:15 2003] ajp13 www.fcgphoto.com 0.030000

=====
__________________________________________________

My full time permanent email address is always: garberfc@coolsite.net

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


RE: Worker found, but not doing any work?

Posted by Chris Dodunski <Ch...@btw.co.nz>.
Hi,

Check your logs for errors.  You should find a message stating that a
certain page can not be found.  What is the path?  If it is something like
"APACHE_HOME/htdocs/examples/*.jsp" then the document root in httpd.conf
needs looking at.

Chris.


-----Original Message-----
From: Frank Garber [mailto:garberfc@yahoo.com]
Sent: Friday, 21 March 2003 1:59 a.m.
To: tomcat-user@jakarta.apache.org
Subject: Worker found, but not doing any work?


I'm using Tomcat 4.1.18 with Apache 2.0.44.  When I browse directly to the
Tomcat examples all the servlets and JSPs work fine.  I'm having trouble
accessing the examples through apache.

I've found numerous examples on the web for setup.  Each is different and
unfortunately, none of them has worked!  I've gotten to the point with I can
display all the static content and can see from the mod-_jk.log file that I
have found a worker.  Its just the worker is returning 404 and I don't know
why??

Any thoughts would be GREATLY appreciated.

Thanks,

F

[Thu Mar 20 08:58:15 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI
'/jsp/dates/date.jsp'
[Thu Mar 20 08:58:15 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (1668)]: Into handler r->proxyreq=0
r->handler=jakarta-servlet r->notes=7932888 worker=ajp13
[Thu Mar 20 08:58:15 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Thu Mar 20 08:58:15 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done
found a worker
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (485)]: agsp=80 agsn=www.fcgphoto.com
hostn=www.fcgphoto.com shostn=www.fcgphoto.com cbsport=0 sport=0
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (132)]: Into jk_open_socket
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 664
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (148)]: jk_open_socket, after
connect
ret = 0
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (157)]: jk_open_socket, set
TCP_NODELAY to on
[Thu Mar 20 08:58:15 2003]  [jk_connect.c (174)]: jk_open_socket, return, sd
=
664
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (614)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 664
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #581
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13 #81
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (483)]: ajp_unmarshal_response:
status = 404
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response:
Number of headers is = 2
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[1] [Content-Language] = [en-US]
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13
#726
[Thu Mar 20 08:58:15 2003]  [mod_jk.c (386)]: writing 722 (722) out of 722
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (729)]: received from ajp13 #2
[Thu Mar 20 08:58:15 2003]  [jk_ajp_common.c (1382)]: Into
jk_endpoint_t::done,
recycling connection
[Thu Mar 20 08:58:15 2003] ajp13 www.fcgphoto.com 0.030000

=====
__________________________________________________

My full time permanent email address is always: garberfc@coolsite.net

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


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