Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Tomcat 5.5.15 in "debug mode "?

Tomcat 5.5.15 in "debug mode "?

2006-04-03       - By John Cherouvim

 Back
Reply:     1     2  

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 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:247)     - JspEngine --> /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:248)     -          ServletPath: /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:249)     -             PathInfo: null
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:250)     -             RealPath:
d:\jakarta\tomcat\webapps\foo\bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:251)     -           RequestURI: /bar.jsp
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:252)     -          QueryString: null
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:253)     -       Request Params:
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:257)     -          f_submit = true
2006-04-03 17:51:36,421 DEBUG [ajp-8009 (See http://ajp-8009.ora-code.com)-1] servlet.JspServlet
(JspServlet.java:257)     -          foo = I?I?I?


This has a side-effect on my programs which need to use UTF-8 (See http://UTF-8.ora-code.com) parameters
from the request object. When I do
request.setCharacterEncoding("UTF-8 (See http://UTF-8.ora-code.com)"); 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@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.