Enable cgiservlet log (I usually set debug to 6) and see what's output in
the log (very detail).
From: Mark Claassen [mailto:mac@donn...]
Sent: November 5, 2004 5:07 PM
To: 'Tomcat Users List'
Subject: CGI ...yeah, I know (Tomcat 4.1.29)
I know that Tomcat is not an ideal CGI server, but I am having real trouble
getting it to work at all. Most often I get the Exception below, and it
doesn't seem to be running our perl program at all. (We can run the perl
program by hand though). We had a bit of trouble getting it setup in the
first place, and we got errors way different from this. I figured that
since we were getting this, we must have everything else setup correctly.
Looking at the 4.1.27 source this is:
commandsStdIn is the output stream to the process.
Anyone have any ideas on where to start looking?
java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)