• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Broken Pipeline in Tomcat

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys,

We are running around 50 apps on Apache Tomcat/7.0.57, all are client API accessible via SOAP call. The problem we are facing is that we are getting broken pipeline error (ClientAbortException). Now I assume I cannot avoid this issue completely, the problem I am facing is the server is not recovering from this issue. It starts giving the error in a series. I need to restart the service/server to rectify the issue, that is not a very good idea for live servers.

Tomcat is running with these parameters:


And the error log is as follows:


Please let me know if anyone needs any more information to help me rectify this.
 
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My guess is that the HTTP connections are pooled and reused and the software is not able to detect the broken connections.

According to https://axis.apache.org/axis2/java/core/docs/http-transport.html

CommonsHTTPTransportSender utilizes HttpClient. Here you have some configuration description:

http://hc.apache.org/httpclient-3.x/threading.html

connectionStaleCheckingEnabled
maxConnectionsPerHost
maxTotalConnections

given that you use MultiThreadedHttpConnectionManager. Anyhow, make sure that Stale Connection check is activated:

http://hc.apache.org/httpclient-3.x/preference-api.html -> http.connection.stalecheck

You will probably need to configure HttpClient through Axis interface.
 
Shubh Bose
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, This exception cause a request long time to process, which will make other subsequent requests to be in queue, then they will take more time to process and execute, Later at one point, all request takes more time to process, which hang up the service and further on there are only "Broken Pipe" error exception in the logs.
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic