Hello,
  I have installed and have tomcat working correctly in stand alone
mode.  I am having difficulty geting apache to send requests through to
tomcat.  When I try to load , oh say the date example under the jsp
directory this is what I get:

web responst - looks like html but displayed as text only, browser
doesn't recognise as html:
<html>
<!--
  Copyright (c) 1999 The Apache Software Foundation.  All rights 
  reserved.
-->

<%@ page session="false"%>

<body bgcolor="white">
<jsp:useBean id='clock' scope='page' class='dates.JspCalendar'
type="dates.JspCalendar" />

<font size=4>
<ul>
<li>    Day of month: is  <jsp:getProperty name="clock"
property="dayOfMonth"/>
<li>    Year: is  <jsp:getProperty name="clock" property="year"/>
<li>    Month: is  <jsp:getProperty name="clock" property="month"/>
<li>    Time: is  <jsp:getProperty name="clock" property="time"/>
<li>    Date: is  <jsp:getProperty name="clock" property="date"/>
<li>    Day: is  <jsp:getProperty name="clock" property="day"/>
<li>    Day Of Year: is  <jsp:getProperty name="clock"
property="dayOfYear"/>
<li>    Week Of Year: is  <jsp:getProperty name="clock"
property="weekOfYear"/>
<li>    era: is  <jsp:getProperty name="clock" property="era"/>
<li>    DST Offset: is  <jsp:getProperty name="clock"
property="DSTOffset"/>
<li>    Zone Offset: is  <jsp:getProperty name="clock"
property="zoneOffset"/>
</ul>
</font>

</body>
</html>


with logging turned on in debug mode, this is all I see:

==> /var/log/tomcat/mod_jk.log <==
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker,
done without a match
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker,
done without a match
 
==> /var/log/httpd/access_log <==
208.158.53.156 - - [18/Apr/2001:11:29:34 +0000] "GET /examples/
HTTP/1.0" 200
1051                                                                              



It seems like apache is just serving the files without trying mod_jk,
except for the mod_jk.log which indicates that it is being called.  Any
ideas of what I should be looking for here?

 Thanks 
  Doug Brown

-- 
                     J. Doug Brown - Fairmont, WV
                  Software Engineer @ ProLogic, Inc.
mailto:[EMAIL PROTECTED]              mailto:[EMAIL PROTECTED]
http://members.citynet.net/kbrown/Doug       http://www.prologic-inc.com

Reply via email to