Short Read Error

we are facing an error which says

" Short Read Error"

There are two scenarios here:

The first has the following sequence of operations:

1. click on "Save" button in the transactional page

where there is data which can be altered/modified(so there is already

data to be viewed)

The second scenario(where we enter an invalid data/null data)has the

following sequence

1.on click of save, an error occurs which takes us to the error page

with a back button,

2.on click of back button in the page we get back to the

transactional page,

3.now again click on save ,

4.Click on back button in the error page,

this throws a short read error too

The discription is as below:

500 Internal Server Error

/ipp/servlet/IPP.ipp.ippServlet:

Short Read

java.lang.IllegalArgumentException: Short Read

at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java,

Compiled Code)

at java.lang.Exception.(Exception.java, Compiled Code)

at java.lang.RuntimeException.(RuntimeException.java,

Compiled Code)

at java.lang.IllegalArgumentException.

(IllegalArgumentException.java, Compiled Code)

at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java,

Compiled Code)

at allaire.jrun.servlet.JRunRequest.getParameters

(JRunRequest.java, Compiled Code)

at allaire.jrun.servlet.JRunRequest.getParameter

(JRunRequest.java, Compiled Code)

at allaire.jrun.servlet.ForwardRequest.getParameter

(ForwardRequest.java, Compiled Code)

at allaire.jrun.session.JRunSessionService.getUrlSessionID

(JRunSessionService.java, Compiled Code)

at allaire.jrun.servlet.ForwardRequest.getRequestedSessionId

(ForwardRequest.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java,

Compiled Code)

at allaire.jrun.servlet.JRunRequestDispatcher.forward

(JRunRequestDispatcher.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled

Code)

at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java,

Compiled Code)

at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java,

Compiled Code)

at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)

at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled

Code)

we hope that the JATO Forum will be able to help us out in

this regard.

waiting for the all possible causes for this error and may be

a solution if possible..........................

Please acknowledge and respond to this request....

thanks and regards

ND Team

[2810 byte] By [Guest] at [2007-11-25 9:29:41]
# 1

Hi Ravi--

It looks like JRun is having a problem reading the POSTed content from the

browser, perhaps because it's truncated. Didn't we see this sometime in the

past with JRun?

The best tool to help figure out what's happening in this case is the log

proxy, which is available in the discussion forum's file area. Run that and

then try these scenarios again. You should then be able to see what gets

POSTed from the browser in the log proxy window. See if it looks truncated

or strange in any way.

You should also try running the application in Resin (<a href="http://www.caucho.com">http://www.caucho.com</a>)

and see if you get the same results--never underestimate the usefulness of

running your application in another container.

Todd

Guest at 2007-7-1 16:35:56 > top of Java-index,Development Tools,Java Tools...