tomcat processParameters complains about "invalid chunk ignored"

Posted by cgicgi on Server Fault See other posts from Server Fault or by cgicgi
Published on 2010-09-08T10:50:11Z Indexed on 2011/02/01 7:27 UTC
Read the original article Hit count: 156

Filed under:
|
|

I am hosting a software system running under tomcat for quite a number of customers. Some of these send invalid URLs as request. These URLs may contain "&=" or "&&", which is not within the http specs. Now my tomcat complains about the following: "08.09.2010 12:36:04 org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored."

It is no problem, as is doesn't affect the operation in any way. Only problem ist that the tomcat/logs/catalina.out is growing with every single request.

In the net you can find suggestions like: - Fix your URLs (which I can't, as it is the customers who send them) - Raise tomcats log level to ERROR (which I don't want to do, as it would suppress INFO like "INFO: Reloading context [/ContextName]" and other stuff you want to know. - Redirect the log to the application log (which won't solve the problem, as the message will flood just another log)

Does anyone know how to solve the problem at its ROOT, which means: Tell tomcat not to complain about invalid request parameters any longer

© Server Fault or respective owner

Related posts about tomcat

Related posts about logging