Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10612

In Spring Boot, jersey logs warning on form url encoded post request

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Ready
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: spring-boot 3.4.0, spring-boot 3.2.4, spring-boot 3.0.4, spring-boot 3.1.4, spring-boot 3.3.2
    • Fix Version/s: None
    • Component/s: spring-boot
    • Labels:
      None

      Description

      Steps to reproduce

      Observed behavior
      The spring boot application logs a warning:

      2019-07-12 13:19:02.735  WARN 72787 --- [nio-8080-exec-9] o.glassfish.jersey.servlet.WebComponent  : A servlet request to the URI http://localhost:8080/api/admin/auth/user/default/login/admin 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.
      

      Problem
      It seems that either JAX-RS is used wrong or our Spring Boot is configured in a way that produces this warning.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            tassilo.weidner Tassilo Weidner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: