tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lior Shliechkorn <liorshli...@yahoo.com>
Subject Not finding webapp
Date Wed, 23 Oct 2002 15:30:45 GMT

Hello,

My question seems to have moved past my having Tomcat installed on windows2k. I'm not sure
how to configure the mapping in Tomcat to captuer a whole website URL. So when it looks in
the uriworkermap it would find /www.url.com and know to redirect any jsp/servlets from that
url over to Tomcat.


Now the way I have it set up is that it has a context with path="/www.url.com" and docbase="www.url.com".
I set up a directory under webapps with the name www.url.com. When starting Tomcat it loads
the invoker etc. from that directory's WEB-INF and everything is working ok as far as that
goes. However, when it maps the URL I get the following output in the log file for the redirect:


[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (626)]: HttpFilterProc started
[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host redirection
of /www.url.com/index.jsp
[Wed Oct 23 11:18:11 2002]  [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Oct 23 11:18:11 2002]  [jk_uri_worker_map.c (368)]: Attempting to map URI '/www.url.com/index.jsp'
[Wed Oct 23 11:18:11 2002]  [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a suffix match ajp13 -> *.jsp
[Wed Oct 23 11:18:11 2002]  [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a suffix match ajp13 -> *.jsp
**************************************************

*[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (688)]: HttpFilterProc [/index.jsp] is a servlet
url - should redirect to ajp13
*[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (737)]: HttpFilterProc check if [/index.jsp]
is points to the web-inf directory
***************************************************

[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (777)]: HttpExtensionProc started
[Wed Oct 23 11:18:11 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
[Wed Oct 23 11:18:11 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (799)]: HttpExtensionProc got a worker for
name ajp13
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Oct 23 11:18:11 2002]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Oct 23 11:18:11 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13 #321
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (614)]: Error sending request try another pooled
connection
[Wed Oct 23 11:18:11 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Wed Oct 23 11:18:11 2002]  [jk_connect.c (115)]: jk_open_socket, try to connect socket =
2656
[Wed Oct 23 11:18:11 2002]  [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[Wed Oct 23 11:18:11 2002]  [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[Wed Oct 23 11:18:11 2002]  [jk_connect.c (140)]: jk_open_socket, return, sd = 2656
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (189)]: In jk_endpoint_t::connect_to_tomcat,
connected sd = 2656
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13 #321
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (645)]: send_request 2: request body to send
0 - request body to resend 0
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #31
[Wed Oct 23 11:18:11 2002]  [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 404
[Wed Oct 23 11:18:11 2002]  [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of headers
is = 1
[Wed Oct 23 11:18:11 2002]  [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0] [Content-Type]
= [text/html]
[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (415)]: Into jk_ws_service_t::start_response
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #607
[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (549)]: Into jk_ws_service_t::write
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Oct 23 11:18:11 2002]  [jk_isapi_plugin.c (811)]: HttpExtensionProc service() returned
OK
[Wed Oct 23 11:18:11 2002]  [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done


So you can see in the area I highlighted with * that it's looking in the ROOT directory for
the index file instead of looking in the /webapps/www.url.com directory. I have tried a lot
of combinations and it's not working out. Anyone have any ideas?

Thanks,

Lior



---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message