The parameters of POST request might not be accessable with the specific security configuration.
PK72757 resolves the following problem:
When an application accesses the http parameters of POST request, the following error might be caught.
SRVE0133E: An error occurred while parsing parameters. java.io.IOException: SRVE0216E: post body contains less bytes than specified by content-length is thrown when the security components reads the request with getInputStream() and not setting back the raw un-encoded post data.
This condition might happen when "Use available authentication data when an unprotected URI is accessed" checkbox is checked. This panel can be reached by navigating the admin console as follows:
1. Click Security > Secure administration and applications.
2. Under Authentication, expand Web security and click General settings.
All users of IBM WebSphere Application Server V6.1 on Windows/Solaris/AIX/HP/Linux.
When "Use available authentication data when an unprotected URI is accessed" checkbox in Web security - General settings panel of Administrative Console is checked, a POST request towards unprotected URI may not be processed properly. When this condition occurs, the following error message is logged: SRVE0133E: An error occurred while parsing parameters. java.io.IOException: SRVE0216E: post body contains less bytes than specified by content-length
The cause of the issue is that WebContainer code doesn't restore byte stream which contains POST parameter once the data was taken by the security code.
With this fix, the http parameters of the POST requests are preserved.
The fix for this APAR is currently targeted for inclusion in Fix Pack 18.104.22.168 and 22.214.171.124.
Please refer to the Recommended Updates page for delivery information:
Please download the UpdateInstaller below to install this fix.
Please review the readme.txt for detailed installation instructions.
|Download||RELEASE DATE||LANGUAGE||SIZE(Bytes)||Download Options
What is Fix Central (FC)?
What is DD?
|126.96.36.199-WS-WAS-IFPK72757||10/27/2008||US English||47132||FC FTP DD|
|188.8.131.52-WS-WAS-IFPK72757||12/11/2008||US English||47562||FC FTP DD|
|184.108.40.206-WS-WAS-IFPK72757||12/11/2008||US English||70159||FC FTP DD|
|220.127.116.11-WS-WAS-IFPK72757||12/11/2008||US English||71888||FC FTP DD|
Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).
Problems (APARS) fixed