Solved

Socket write error in Ajp13 connector

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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 …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now