Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4921

Get rid of Jersey warn logs in webengine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.3.1
    • Fix Version/s: Postponed
    • Component/s: WebEngine

      Description

      Selenium tests show a bunch of warnings in logs that should be removed:

      16:21:42,910 WARN [WebComponent] A servlet POST request, to the URI http://localhost:8080/nuxeo/site/sites/testwebsite1/search, 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.
      16:21:57,742 WARN [WebComponent] A servlet POST request, to the URI http://localhost:8080/nuxeo/site/sites/testwebsite1/testwebpage1/@webcomments, 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.
      16:22:01,038 WARN [NXAuditEventsService] Document associated to event does not exists anymore
      16:22:04,244 WARN [WebComponent] A servlet POST request, to the URI http://localhost:8080/nuxeo/site/sites/testwebsite1/createWebPage, 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.
      16:22:07,825 WARN [WebComponent] A servlet POST request, to the URI http://localhost:8080/nuxeo/site/sites/testwebsite1/testwebpage2/modifyWebPage, 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.
      16:22:22,554 WARN [WebComponent] A servlet POST request, to the URI http://localhost:8080/nuxeo/site/sites/testwebsite1/testwebpage1/@tag/addTagging, 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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: