Solved

Socket write error in Ajp13 connector

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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