Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Short Read error

Emerson Cargnin

2004-05-21


These error occured at a TC 3.2.1 running un a HP-UX host (with
virtualvault). This error never happened before.


I've got the following error when reading an request parameter:


124th line at my code :  
 String cod_localidade_TSE = req.getParameter("munic");

obs: This happened at a production site, so the only thing I can tell
(by a exception handling routine) is that there wasn't any parameters at
the request.


Stacktrace:

java.lang.IllegalArgumentException: Short Read
 at javax.servlet.http.HttpUtils.parsePostData (HttpUtils.java:238)
 at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
 at
org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:719)
 at
org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
 at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
 at
org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java:223)
 at gov.tresc.sgip.PartServlet.consulta(PartServlet.java:124)
 at gov.tresc.sgip.PartServlet.doGet(PartServlet.java:39)
 at gov.tresc.sgip.PartServlet.doPost(PartServlet.java:247)
--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.