tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Ide <...@nlm.nih.gov>
Subject Re: mod_jk error
Date Fri, 23 Aug 2002 22:41:23 GMT

I have always assumed these error messages were caused by
the browser closing the connection -- generally because the
user has clicked on something else or pressed STOP.
(Of course, a double-click can exhibit the same way.)

The servlet doesn't know that the user is no longer listening,
so when it tries to write the response to a closed connection,
it get's an error.  

>
>Hi,
>
>I am running Apache 1.3.23, tomcat 4.0.4 and mod_jk 1.3 on SuSE Linux 
>8.0 with Sun's JDK 1.4. (I posted the question before, and have read 
>1700 Mails (!arrgh) without finding the answer.)
>
>The mod_jk log file says (about 20 times a day (on a server with about 
>100000 pages per month)):
>
>[Fri Aug 23 19:41:15 2002]  [jk_ajp13_worker.c (381)]: Error 
>ajp13_process_callback - write failed
>
>While Tomcat stdout says (less often):
>
>2002-08-23 19:42:33 Ajp13Processor[8009][20] process: invoke
>java.net.SocketException: Socket closed
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at 
>java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>         at java.net.SocketOutputStream.write(SocketOutputStream.java:126)
>         at org.apache.ajp.Ajp13.send(Ajp13.java:525)
>         at org.apache.ajp.RequestHandler.finish(RequestHandler.java:495)
>         at org.apache.ajp.Ajp13.finish(Ajp13.java:395)
>         at 
>org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.jav
>         at 
>org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:464
>         at 
>org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
>         at java.lang.Thread.run(Thread.java:536)
>
>Does anybody know (or can guess) what's the source of this problem?
>
>Many thanks,
>
>Carsten
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>


-N


Nick Ide
ClinicalTrials.gov - National Library of Medicine
ide@nlm.nih.gov
301-435-3141


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message