leroy wrote: > > Hello. I begin to work with Magnolia, and Glassfish prints this error: > > PWC4011: Unable to set request character encoding to UTF-8 from context > /sigrand-site-1.0-SNAPSHOT, because request parameters have already been > read, or ServletRequest.getReader() has already been called > > I've read > http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding, > but why Magnolia do this?
Magnolia does this only once before any other processing in the ContentTypeFilter and only if it's not specified by the application server to make sure request decoding works correctly. Is is exactly the way the FAQ entry tells you how you should do it. > How can I fix this? To me it looks like some other filter or servlet is responsible for this. The easiest way to debug it is probably to set a breakpoint in the method that logs the warning to find out who is setting it. Cheers Philippe ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
