Runtime.exec ()+ Broken pipe on large POST data
From: Jon Wayne (email_alert_at_rediffmail.com)
Date: 06/29/04
- Next message: Chris Smith: "Re: Threads question"
- Previous message: Federico: "Threads communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2004 05:45:02 -0700
Hi
I'm using tomcat 4.0 on a solaris platform, and using the internal API
CGIServlet.java to handle the CGI's.
The servlet spawns off a Process and writes on it's output stream
(BufferedOutputStream) the POST data.
This seems to work quite well, except when large POST data is
recieved; the servlet throws a Broken Pipe I/O exception.
The irony is that inspite of this , the cgi is actually invoked, and
executed too.
I'd appreciate if anyone could tell me why this is so?
Thanks
Regards
Jon
- Next message: Chris Smith: "Re: Threads question"
- Previous message: Federico: "Threads communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|