title: Mule HTTP connection reset
body: <p>I have mule application deployed on tomcat Web-Server. i am exposing web service and using the below HTTP connector</p>
  
  <pre><code>&lt;http:inbound-endpoint host="0.0.0.0" port="9198"  path="customer/payment/debit" exchange-pattern="request-response"&gt;
               &lt;mule-ss:http-security-filter realm="mule-realm" securityProviders="userprovider"  /&gt;            
          &lt;/http:inbound-endpoint&gt;
  </code></pre>
  
  <p>then i am using jaxws-service for publish the web-service</p>
  
  <pre><code>&lt;cxf:jaxws-service serviceClass="com.cit.wsdl.customer.payment.debit.v1_0.PaymentDebit" service="PaymentDebitService" soapVersion="1.2" /&gt;
  </code></pre>
  
  <p>the problem that i am getting the below error :</p>
  
  <blockquote>
    <p>ERROR org.mule.module.logging.DispatchingLogger : Caught exception in
    Exception Strategy: Connection resetjava.net.SocketException:
    Connection reset at
    java.net.SocketInputStream.read(SocketInputStream.java:196) at
    java.net.SocketInputStream.read(SocketInputStream.java:122) at
    java.net.SocketInputStream.read(SocketInputStream.java:210) at
    org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    at
    org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    at
    org.mule.transport.http.HttpServerConnection.readLine(HttpServerConnection.java:243)
    at
    org.mule.transport.http.HttpServerConnection.getRequestLine(HttpServerConnection.java:509)
    at
    org.mule.transport.http.HttpRequestDispatcherWork.run(HttpRequestDispatcherWork.java:70)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)</p>
  </blockquote>
  
  <p>The client get the below error :</p>
  
  <blockquote>
    <p>"Exception: An error occurred while receiving the HTTP response to
    <a href="http://10.255.142.36:9198/customer/payment/debit" rel="nofollow noreferrer">http://10.255.142.36:9198/customer/payment/debit</a>. This could be due
    to the service endpoint binding not using the HTTP protocol. This
    could also be due to an HTTP request context being aborted by the
    server (possibly due to the service shutting down). See server logs
    for more details. "</p>
  </blockquote>
  
  <p>The above error is happened randomly but there are requests successfully received to the server and handled by mule.</p>