Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-4608

Loanbroker example not working

    Details

    • Severity:
      S1

      Description

      Running the loanbroker example throws the following exception when making 100 loan requests:
      ERROR 2009-11-13 09:17:02,356 [connector.http.0.dispatcher.2] org.mule.DefaultExceptionStrategy:
      ********************************************************************************
      Message : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector

      {this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties={method=getLoanQuote}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod
      Type : org.mule.api.transport.DispatchException
      Code : MULE_ERROR-42999
      Payload : org.apache.commons.httpclient.methods.PostMethod@105dd2c
      JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html
      ********************************************************************************
      Exception stack is:
      1. Read timed out (java.net.SocketTimeoutException)
      java.net.SocketInputStream:-2 (null)
      2. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector{this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}

      , transformer=[ObjectToHttpClientMethodRequest

      {this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}

      ], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties=

      {method=getLoanQuote}

      , transactionConfig=Transaction

      {factory=null, action=NEVER, timeout=0}

      , filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException)
      org.mule.transport.http.HttpClientMessageDispatcher:132 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html)
      ********************************************************************************
      Root Exception stack trace:
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
      at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
      at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      at org.mule.transport.http.HttpClientMessageDispatcher.execute(HttpClientMessageDispatcher.java:125)
      at org.mule.transport.http.HttpClientMessageDispatcher.doDispatch(HttpClientMessageDispatcher.java:99)
      at org.mule.transport.AbstractMessageDispatcher$Worker.doRun(AbstractMessageDispatcher.java:266)
      at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41)
      at org.mule.work.WorkerContext.run(WorkerContext.java:310)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfeist Daniel Feist
                Reporter:
                dzapata Daniel Zapata
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • It looks like Backbone Issue Sync is not enabled for your project.