tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Perry <...@systame.com>
Subject mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
Date Sun, 12 Jan 2003 18:52:25 GMT
Successfully installed tomcat 4.1.18 and can access it on port 8080. Jsp &
servlets run ok.

Installed mod_jk.so v1.2.2, configured apache and get no errors on startup.

But, though I can access the directory pointed to by JKMount, and can load
static .html, no .jsp or servlet examples will run.

My machine is a Mac Xserve running OS 10.2.3 server.

Relevant configs appear below.

Any help is appreciated.

************************
workers.properties
************************
# Setup for Mac OS X
workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.18
workers.java_home=/System/Library/Frameworks/JavaVM.framework/Home
worker.list=ajp13

#Definition for Ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=127.0.0.1
worker.ajp13.type=ajp13

************************
httpd.conf
************************
LoadModule jk_module        /usr/libexec/httpd/mod_jk.so
AddModule mod_jk.c

<VirtualHost 127.0.0.1>
    DocumentRoot /usr/local/jakarta-tomcat-4.1.18
    JKMount /*.jsp ajp13
    JKMount /webapps/examples/servlet/* ajp13
</VirtualHost>

JkWorkersFile /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log
JkLogLevel debug

************************
mod_jk.log
************************
[Sun Jan 12 13:36:49 2003]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (171)]: wc_create_worker, about to
validate and init ajp13
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1219)]: Into
jk_worker_t::validate
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1239)]: In
jk_worker_t::validate for worker ajp13 contact is 127.0.0.1:8009
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1267)]: Into jk_worker_t::init
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1287)]: In jk_worker_t::init,
setting socket timeout to 0
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (187)]: wc_create_worker, done
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (238)]: build_worker_map, removing
old ajp13 worker 
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (250)]: build_worker_map, done
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (111)]: wc_open, done 1
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp'
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/index.html'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/index.html'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/num/numguess.jsp'
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Sun Jan 12 13:37:07 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sun Jan 12 13:37:07 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (158)]: Into jk_open_socket
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (165)]: jk_open_socket, try to
connect socket = 6
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (174)]: jk_open_socket, after
connect ret = 0
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (183)]: jk_open_socket, set
TCP_NODELAY to on
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (200)]: jk_open_socket, return, sd
= 6
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (614)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 6
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #263
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (729)]: received from ajp13 #78
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (483)]: ajp_unmarshal_response:
status = 404
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response:
Number of headers is = 2
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[1] [Content-Language] = [en]
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (729)]: received from ajp13
#783
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (729)]: received from ajp13 #2
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (1382)]: Into
jk_endpoint_t::done, recycling connection


-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



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


Mime
View raw message