0

我正在尝试使用拼写检查服务从 mulesoft 的初学者教程中运行该程序。我不知道似乎出了什么问题,但它似乎超时了,我得到一个 mule_error--2。我认为拼写检查云集线器服务没有运行...

这是结果:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'spellchecker'                               +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2013-07-25 15:41:33,413 [[spellchecker].connector.file.mule.default.receiver.01] org.mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\Users\mahmadzada\Desktop\mule\MuleStudio\examples\SpellChecker\InXML\spellcheck.xml
INFO  2013-07-25 15:41:33,463 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest
INFO  2013-07-25 15:41:33,466 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse
INFO  2013-07-25 15:41:33,475 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest
INFO  2013-07-25 15:41:33,476 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.lifecycle.AbstractLifecycleManager: Initialising: 'connector.http.mule.default.dispatcher.212447412'. Object is: HttpClientMessageDispatcher
INFO  2013-07-25 15:41:33,478 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.lifecycle.AbstractLifecycleManager: Starting: 'connector.http.mule.default.dispatcher.212447412'. Object is: HttpClientMessageDispatcher
INFO  2013-07-25 15:41:33,494 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest: Content-Type not set on outgoing request, defaulting to: text/plain
ERROR 2013-07-25 15:41:44,065 [[spellchecker].SpellCheckerFlow1.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: 
********************************************************************************
Message               : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://spellcheck-service.cloudhub.io/spellcheck:80, connector=HttpConnector
{
  name=connector.http.mule.default
  lifecycle=start
  this=ece5b80
  numberOfConcurrentTransactedReceivers=4
  createMultipleTransactedReceivers=true
  connected=true
  supportedProtocols=[http]
  serviceOverrides=<none>
}
,  name='endpoint.http.spellcheck.service.cloudhub.io.spellcheck.80', mep=REQUEST_RESPONSE, properties={http.method=POST}, transactionConfig=Transaction{factory=null, action=INDIFFERENT, timeout=0}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}. Message payload is of type: PostMethod
Code                  : MULE_ERROR--2
--------------------------------------------------------------------------------
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://spellcheck-service.cloudhub.io/spellcheck:80, connector=HttpConnector
{
  name=connector.http.mule.default
  lifecycle=start
  this=ece5b80
  numberOfConcurrentTransactedReceivers=4
  createMultipleTransactedReceivers=true
  connected=true
  supportedProtocols=[http]
  serviceOverrides=<none>
}
,  name='endpoint.http.spellcheck.service.cloudhub.io.spellcheck.80', mep=REQUEST_RESPONSE, properties={http.method=POST}, transactionConfig=Transaction{factory=null, action=INDIFFERENT, timeout=0}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException)
  org.mule.transport.http.HttpClientMessageDispatcher:155 (http://www.mulesoft.org/docs/site/current3/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(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
4

1 回答 1

0

服务陷入困境。

MuleSoft 已经对其应用了心肺复苏术,你现在应该很好了。

于 2013-07-25T21:50:32.747 回答