users@jersey.java.net

Jersey log message re: form parameters being consumed "earlier"

From: Mark Petrovic <mark_at_petrovic.org>
Date: Mon, 23 Nov 2009 16:20:05 -0800

Hi.

I find this log message in my server that is mysterious:


[#|2009-11-21T00:01:39.466-0800|WARNING|sun-appserver2.1|com.sun.jersey.spi.container.servlet.WebComponent|_ThreadID=19;_ThreadName=httpSSLWorkerThread-38080-2;_RequestID=39e57fc2-0b91-42ca-b3a2-4415e9c0951f;|A servlet POST request, to the URI https://blech.example.org/services/actions/createCp?userName=flerg@blarney.com&password=**********&firstName=Sasha&lastName=Who&postal
Code=95129&state=CA&country=US, 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.|#]

My app *seems* to be working in all regards, but the log message nonetheless bothers me.

What is the message trying to tell me?

Thanks.

--
Mark Petrovic
mark_at_petrovic.org
http://www.petrovic.org