Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1343

Sample 268 (Proxy services with the Local transport) fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.5.0 M3
    • Fix Version/s: 4.5.0 M4
    • Component/s: Transport
    • Labels:
      None
    • Environment:

      WSO2 ESB 4.5.0 M3 pack (25th July)

      Description

      • Sample 268 fails

      logs in ESB:

      [2012-07-25 12:08:52,076] INFO - LogMediator To: http://localhost:8280/services/LocalTransportProxy, WSAction: urn:getQuote, SOAPAction: urn:getQuote, ReplyTo: http://www.w3.org/2005/08/addressing/anonymous, MessageID: urn:uuid:f810a873-74fd-4981-a3e6-c759f5cc91d6, Direction: request, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:8280/services/LocalTransportProxy</wsa:To><wsa:MessageID>urn:uuid:f810a873-74fd-4981-a3e6-c759f5cc91d6</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><soapenv:Body><m0:getQuote xmlns:m0="http://services.samples"><m0:request><m0:symbol>IBM</m0:symbol></m0:request></m0:getQuote></soapenv:Body></soapenv:Envelope>
      [2012-07-25 12:08:52,077] INFO - LogMediator LocalTransportProxy = In sequence of LocalTransportProxy invoked!
      [2012-07-25 12:08:52,085] INFO - TimeoutHandler This engine will expire all callbacks after : 86400 seconds, irrespective of the timeout action, after the specified or optional timeout
      [2012-07-25 12:08:52,109] INFO - LogMediator To: local://localhost/services/SecondProxy, WSAction: urn:getQuote, SOAPAction: urn:getQuote, Direction: request

      Client logs :

      [java] [2012-07-25 12:09:22,039] INFO

      {org.apache.axis2.transport.http.HTTPSender}

      - Unable to sendViaPost to urlhttp://localhost:8280/services/LocalTransportProxy
      [java] java.net.SocketTimeoutException: Read timed out
      [java] at java.net.SocketInputStream.socketRead0(Native Method)
      [java] at java.net.SocketInputStream.read(SocketInputStream.java:129)
      [java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      [java] at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      [java] at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
      [java] at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
      [java] at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
      [java] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
      [java] at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
      [java] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      [java] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      [java] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      [java] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      [java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      [java] at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
      [java] at org.apache.axis2.transport.http.HTTPSender.sendViaPorg.apache.axis2.AxisFault: Read timed out
      [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      [java] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197)
      [java] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
      [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450)
      [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277)
      [java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
      [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
      [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
      [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
      [java] at samples.userguide.StockQuoteClient.executeClient(Unknown Source)
      [java] at samples.userguide.StockQuoteClient.main(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              nuwand@wso2.com Nuwan Dias
              Reporter:
              pavithra@wso2.com Pavithra Madurangi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: