Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-60249

Confluence logs excessive warnings regarding form parameters and servlets

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Macros - 3rd Party
    • None
    • 37
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      The below exception is thrown in the catalina.out file:

      20-Aug-2020 14:31:26.113 WARNUNG https-jsse-nio2-443-exec-1854 url:/rest/talk/1.0/comments/updates username:S1114394 com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://confluence.dkb.ag/rest/talk/1.0/comments/updates, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
      

       Note that the URL will vary - this is but one example.

      These warning messages should not interfere with the functionality of the application.

      Workaround

      The message can be suppressed from the logs with the following steps

      1. Edit <confluence-install>/conf/logging.properties
        Note: This is a different file to that found at <confluence-install>/confluence/WEB-INF/classes/logging.properties. Please ensure you edit the correct file.
      2. Add the following line
        com.sun.jersey.spi.container.servlet.WebComponent.level = SEVERE
        
      3. Restart Confluence

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scherukumilli@atlassian.com Shilpa R (Inactive)
              Votes:
              30 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated: