You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kris Reese <kr...@hotmail.com> on 2005/01/21 09:07:00 UTC

Unable to JkMount webapps/ROOT

Hello all,

I'm trying to access my webapps/ROOT directory with a /tomcat alias pointed 
to it and I continue to receive error 404 - resource not available.  All of 
my other JkMounts work, such as /jsp-examples.  I'm running with Apache 
2.0.52 and Tomcat 5.5.6 with mod_jk 1.2.6.  What am I doing wrong?

Thank you for your time and consideration.

Kris

---------------------------------------------------------
With this config...

JkMount /*.jsp ajp13

Alias /tomcat /usr/local/tomcat5/webapps/ROOT
JkMount /tomcat ajp13
JkMount /tomcat/* ajp13

access_log:
9.65.215.164 - - [21/Jan/2005:01:32:59 -0600] "GET /tomcat HTTP/1.1" 404 971
9.65.215.164 - - [21/Jan/2005:01:33:01 -0600] "GET /tomcat/ HTTP/1.1" 404 
974
9.65.215.164 - - [21/Jan/2005:01:33:05 -0600] "GET /tomcat/index.jsp 
HTTP/1.1" 404 1001

mod_jk.log:
[Fri Jan 21 01:59:50 2005]  [jk_uri_worker_map.c (459)]: Attempting to map 
URI '/tomcat'
[Fri Jan 21 01:59:50 2005]  [jk_uri_worker_map.c (473)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 -> 
/tomcat
[Fri Jan 21 01:59:50 2005]  [jk_worker.c (94)]: wc_get_worker_for_name, done 
found a worker
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (851)]: received from ajp13 #79
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (477)]: ajp_unmarshal_response: 
status = 404
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (483)]: ajp_unmarshal_response: 
Number of headers is = 2
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: 
Header[0] [Content-Type] = [text/html;charset=utf-8]
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: 
Header[1] [Content-Length] = [971]
[Fri Jan 21 01:59:50 2005]  [jk_ajp_common.c (851)]: received from ajp13 
#975



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