Re: IllegalStateException: Short Read while trying to do forward()
G'Day, on 20/12/00 4:08 AM, Jason C Jones at [EMAIL PROTECTED] wrote: I am running 3.2.1 in standalone mode and when I try to do a forward with a RequestDispatcher I get the following error: going to /patient.jsp res.isCommitted() = false res.getBufferSize() = 8192 2000-12-19 04:53:48 - Ctx( /nativeweb ): Exception in: R( /nativeweb + /patient. jsp + null) - java.lang.IllegalArgumentException: Short Read at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238) at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101) Note the two debugging lines above the exception. According to the specs, an IllegalArgumentException is thrown when the response is already committed, which it is not as you can see. Is this a bug? The servlet in question uses HttpUtil.parsePostData to read the post data and inflate a bean. It then puts the bean into the session object and tries to redirect to a jsp for display. Anyone have any ideas? I'm going to take a stab at the obvious here (at least to me). You seem to be confusing the IllegalArgumentException with IllegalStateException. I don't think that your assertion that "According to the specs, an IllegalArgumentException is thrown when the response is already committed" is quite right. I'm pretty sure that it says "Illegal *State* Exception". I suspect that you are passing a bad argument to your bean inflation code, and this is causing the "Illegal *Argument* Exception". Regards, Steve Coy
Re: InterScan eManager Content Management Notification! (DirtyWords)
Sorry for the noise, but is anyone else on the list getting these? My ISP (optushome.com.au) is adamant that they are not responsible for this... I've had a half dozen or so of them in the last hour, from a variety of source addresses, all from this list. on 20/12/00 9:02 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: **Message from InterScan E-Mail VirusWall NT** The following mail was blocked by InterScan eManager Content Management. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED] Policy: Dirty Words Action: Archive Sender, Content filter has offensive language. Message not sent. *** End of message *** Received: (qmail 64090 invoked by uid 500); 20 Dec 2000 10:06:54 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk Reply-To: [EMAIL PROTECTED] list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 64078 invoked from network); 20 Dec 2000 10:06:53 - Received: from smtp4.mail.yahoo.com (128.11.69.101) by locus.apache.org with SMTP; 20 Dec 2000 10:06:53 - Received: from unknown (HELO ss3) (203.109.74.4) by smtp.mail.vip.suc.yahoo.com with SMTP; 20 Dec 2000 10:06:51 - X-Apparently-From: java?[EMAIL PROTECTED] Message-ID: 011801c06a9b$0080f3a0$0d0a@ss3 From: "Bhavesh Vakil" [EMAIL PROTECTED] To: [EMAIL PROTECTED] References: 003701c06a68$1f342cf0$d300a8c0@kmichishita02 Subject: Re: how to eliminate port number? Date: Wed, 20 Dec 2000 15:39:06 - MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_NextPart_000_0115_01C06A9A.FCDE2A60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N