26-Feb-2019 16:00:18.053 WARNING [http-nio-127.0.0.1-8080-exec-7] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jira-tds.ourdomain.ch/rest/gadget/1.0/project/filters?projectId=10301&_=1551192997312, 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.
26-Feb-2019 16:00:20.478 WARNING [http-nio-127.0.0.1-8080-exec-14] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jira-tds.ourdomain.ch/rest/gadget/1.0/project/reports?projectId=10301&_=1551192997313, 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.
26-Feb-2019 16:00:21.770 WARNING [http-nio-127.0.0.1-8080-exec-19] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jira-tds.ourdomain.ch/rest/gadget/1.0/project/reports?projectId=10100&_=1551192997314, 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.
I keep seeing these warnings in the catalina.out log, and they are filling it in big numbers.
Strangely I can't find much about it online about it - so I am worried to have dome something wrong. Does anybody know why they appear and/or how to solve the issue?
For your information, I use the "Projects" gadget in the System Dashboard.
Thank you
You haven't done anything wrong. It is a very common warning message to see in regards to many Jira versions. There is a suggestion ticket about this issue over in JRASERVER-59898.
There is a workaround on that ticket that explains how you can adjust the logging level in order to avoid seeing these:
Workaround
Change the logging level for the com.sun.jersey.spi.container.servlet.WebComponent class in the conf/logging.properties file by adding this line:
com.sun.jersey.spi.container.servlet.WebComponent.level = SEVEREThis will prevent the Warnings from being logged.
I would expect that you would then need to save that logging.properties file AND restart Jira for these settings to take effect.
I hope this helps.
Andy
nice info thx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.