users@glassfish.java.net

Re: PWC4011 warnings

From: <Jan.Luehe_at_Sun.COM>
Date: Wed, 25 Jun 2008 15:37:30 -0700

David Nedrow wrote:

> Running GlassFish v2ur2 within NetBeans, I get a large number of the
> following messages from my application...
>
> PWC4011: Unable to set request character encoding to UTF-8 from
> context /FilterRequest, because request parameters have already been
> read, or ServletRequest.getReader() has already been called
>
> A new message is generated for each new page generated (via Wicket
> with Spring injection).
>
> Any pointers on what I need to do to make the application server
> happy? I have to admit, this appears to be cosmetic, but I hate not
> clearing warnings.


See
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding
for what is causing this message.

Thanks,

Jan