Solved

Socket write error in Ajp13 connector

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RemoteApp Package (.msi) Install Location 5 96
Application Configuration 1 192
Instructions on how to install SCCM 6 128
Problem to run application 1 71
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 …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

912 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

16 Experts available now in Live!

Get 1:1 Help Now