Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Problem

Referring to catalina.out log, the following warning is repeatedly thrown: 

com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jirazh.akeles.com.sg/rest/gauge-admin/1.0/checkvalid?_=1560749479186, 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.

This excessive logging makes it difficult for debugging.

Solution

Change the logging level for the com.sun.jersey.spi.container.servlet.WebComponent class in the conf/logging.properties file by adding this line at the end of /opt/jira/conf/logging.properties

com.sun.jersey.spi.container.servlet.WebComponent.level = SEVERE

Reference


  • No labels