users@glassfish.java.net

Re: server.log filled with irritating "unable to set request character encoding to UTF-8" errors

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Thu, 27 Nov 2008 17:49:05 +0000

That's great, thanks Jan.

On Wed, Nov 26, 2008 at 4:30 PM, Jan Luehe <Jan.Luehe_at_sun.com> wrote:
> Hi Dick,
>
> On 11/26/08 03:08 AM, Dick Davies wrote:

>> [#|2008-11-26T11:05:03.070+0000|WARNING|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=34;_ThreadName=httpSSLWorkerThread-38181-7;_RequestID=638142a3-30f9-4614-9b70-e8611935d5b6;|PWC4011:
>> Unable to set request character encoding to UTF-8 from context ,
>> because request parameters have already been read, or
>> ServletRequest.getReader() has already been called|#]
>>

>> ( I'm not really clear why "org.apache.coyote.tomcat5.CoyoteRequest"
>> is there at all; I thought we were using Grizzly)
>>
>
> CoyoteRequest is a wrapper around the underlying Grizzly request.
>
> See
>
> http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding