Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Socket write error in Ajp13 connector

Posted on 2004-08-30
4
Medium Priority
?
811 Views
Last Modified: 2010-03-17
We're seeing the following errors in our tomcat logs. The tomcat version is 4.1.17. What does this mean and how do we fix it?

2004-08-30 15:10:01 Ajp13Processor[8009][16] process: invoke
java.net.SocketException: Connection reset by peer: socket write error
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at org.apache.ajp.Ajp13.send(Ajp13.java:525)
      at org.apache.ajp.RequestHandler.finish(RequestHandler.java:501)
      at org.apache.ajp.Ajp13.finish(Ajp13.java:395)
      at org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java:196)
      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:534)
0
Comment
Question by:dale77011299
  • 2
4 Comments
 

Accepted Solution

by:
dale77011299 earned 0 total points
ID: 11947813
Google led me to the following link suggesting that this is a tomcat bug fixed in 4.1.24. The call stack mentioned in this bug is not identical to my call stack however.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18233

This might be my fix.
0
 

Author Comment

by:dale77011299
ID: 12194622
The exceptions can definitely be produced on demand by starting a download from tomcat and then stopping the download with the browser's stop button.

I have been unable to test the theory that an upgrade to a later version of tomcat removes the exception. Unfortunately our tomcat is a sub-component of a commericial package and they do not support upgrading to a newer one.

As far as I can tell, the exception does not have negative consequences (e.g. resource leaks) and is therefore harmless.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question