Solved

Socket write error in Ajp13 connector

Posted on 2004-08-30
4
795 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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