Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-320

glassfish reports setting character encoding too late in the request response cycle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.2
    • 2.7.x
    • None
    • glassfish, fedora, sun jre 1.6

    Description

      See this error in glassfish logs for nearly every request:

      [#|2008-07-27T11:33:01.687-0500|WARNING|sun-appserver9.1|org.apache.coyote.tomca
      t5.CoyoteRequest|_ThreadID=31;_ThreadName=httpSSLWorkerThread-443-6;_RequestID=f
      e1c5e05-09e8-4b21-a9eb-c9eebc59c689;|PWC4011: Unable to set request character en
      coding to UTF-8 from context /ewiki, because request parameters have already bee
      n read, or ServletRequest.getReader() has already been called|#]

      You have to set the character encoding before manipulating output.

      Attachments

        Activity

          People

            metskem Harry Metske
            spoticus1000 Clay Atkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: