You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rob Cartier <rc...@snet.net> on 2002/12/29 19:59:43 UTC

Help: logging fails under mod_jk

I have a very simple peice of code that is in my jsp

<%
System.out.println("JSP======> " + request.getRemoteUser() + "|" +
request.getRequestURI()
+ "|" + request.getRemoteAddr() + "|" + new java.util.Date().toString()
+ "|" + request.getHeader("User-Agent") );
%>

This worked fine under mod_webapp but no generates some really weird results
when I switched over to mod_jk

I get

JSP======> null|ml PUBLIC "-//W3C//DTD HTML 4.01|ansitional/|Sun Dec 29
13:50:10 EST 2002|  <tr>
            <td width="100%" colspan="2" height="95"
==========================================================

I used to get

JSP======> null|/fsa/index.jsp|192.168.1.2|Thu Dec 26 18:35:43 EST
2002|Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

any ideas would be really helpful

Otherwise it appears my mod_jk is working ??


Rob



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>