tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cherouvim ...@eworx.gr>
Subject Tomcat 5.5.15 in "debug mode"?
Date Mon, 03 Apr 2006 17:23:42 GMT
Hello

I have a serious problem with Tomcat 5.5.15 on windows 2003 with Java 
1.5.0_06-b05.
Tomcat runs as service in mode jvm (and not mode java, not sure what 
that is but anyway).

Every request on the server gives me this block of debug log on stdout.log
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:247)     - JspEngine --> /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:248)     -          ServletPath: /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:249)     -             PathInfo: null
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:250)     -             RealPath: 
d:\jakarta\tomcat\webapps\foo\bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:251)     -           RequestURI: /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:252)     -          QueryString: null
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:253)     -       Request Params:
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:257)     -          f_submit = true
2006-04-03 17:51:36,421 DEBUG [ajp-8009-1] servlet.JspServlet 
(JspServlet.java:257)     -          foo = I±I²I³


This has a side-effect on my programs which need to use UTF-8 parameters 
from the request object. When I do 
request.setCharacterEncoding("UTF-8"); there is no effect because 
someone else (the logger probably) has already accessed the request 
parameters, without of course setting any character encoding.

How can I fix this? I've managed to set Tomcat not to log all these 
stuff by setting the level to ERROR, but I'm sure that the process of 
the parameters is happening inside because the request parameters have 
already been accessed.

thanks

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


Mime
View raw message