Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read of HTTP Request POST parameters failed

Status
Not open for further replies.

lowbk

Technical User
Nov 26, 2001
162
SG
i wonder if anyone can advise me on this.

i have a form contains a long list of items. The form uses "post" method. After I press the submit button, I got an exception like this:


java.lang.RuntimeException: Read of HTTP Request POST parameters failed: read < content length
at com.iplanet.ias.web.connector.nsapi.NSAPIRequest.parseMultiByteParameters(NSAPIRequest.java:982)
at com.iplanet.ias.web.connector.nsapi.NSAPIRequest.parseParameters(NSAPIRequest.java:809)
at org.apache.catalina.connector.HttpRequestBase.getParameterNames(HttpRequestBase.java:779)
at org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:171)
 
yes dian, it is a busy server (sun7 running on unix). so it is actually a timeout?? i am not the server administrator, but how to overcome it, as in what should i tell the administrator to do?

lowbk
 
The message " read < content length " looks like the HTTP request said to the server 'the content I am sending in the POST section is x long' - but the socket connection died before the server could read all the data.

This could be due to any TCP/IP layer problem - timed-out socket, the client dropping off the network before the send was complete, an overloaded TCP/IP stack in the kernel - anything really.

I would test it in a dev environment and see if you can replicate the error, and work up a solution or workaround for it.

Also, ask your network admins to monitor the number of TCP/IP connections - if you're reaching the max, you may be able to increase the default number for a given process.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top