当我在 JDK 1.6.0_21(32 位)Windows 7 x64 上从 Mule Studio 1.3.2 x64(Mule 3.3.1 CE 运行时)运行订单折扣示例应用程序时,我得到以下堆栈跟踪:
INFO 2013-06-25 10:29:13,507 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager:启动连接器:connector.https.mule.default INFO 2013-06-25 10:29:13,517 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认出站变压器:org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认响应转换器:org.mule.transport.http.transformers.MuleMessageToHttpResponse INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认出站变压器:org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager:初始化:'connector.https.mule.default.dispatcher.11950696'。对象是:HttpsClientMessageDispatcher 信息 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager:开始:'connector.https.mule.default.dispatcher.11950696'。对象是:HttpsClientMessageDispatcher 错误 2013-06-25 10:29:14,047 [[orderdiscounter].order_management.async1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ****************************************************** ****************************** 消息:无法调用 updateStatus。消息有效负载的类型:字符串 类型:org.mule.api.MessagingException 代码:MULE_ERROR--2 有效载荷:订单编号:1 日期:2013.06.25 10:29:13 CDT 订单总数:12300.0 JavaDoc:http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ****************************************************** ****************************** 异常堆栈是: 1. 无法通过 OAuth 进行身份验证 (twitter4j.TwitterException) org.mule.twitter.TwitterConnector:687(空) 2. 调用updateStatus失败。消息负载的类型:字符串(org.mule.api.MessagingException) org.mule.twitter.processors.UpdateStatusMessageProcessor:164 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) ****************************************************** ****************************** 根异常堆栈跟踪: 无法使用 OAuth 进行身份验证 相关讨论可以在互联网上: http://www.google.co.jp/search?q=00000000 或 http://www.google.co.jp/search?q=00000000 TwitterException{exceptionCode=[00000000-00000000], statusCode=-1, retryAfter=-1, rateLimitStatus=null, featureSpecificRateLimitStatus=null, version=2.2.5} 在 org.mule.twitter.TwitterConnector.updateStatus(TwitterConnector.java:687) 在 org.mule.twitter.processors.UpdateStatusMessageProcessor$1.process(UpdateStatusMessageProcessor.java:153) 在 org.mule.twitter.adapters.TwitterConnectorProcessAdapter$1.execute(TwitterConnectorProcessAdapter.java:36) 在 org.mule.twitter.processors.UpdateStatusMessageProcessor.process(UpdateStatusMessageProcessor.java:139) 在 org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) 在 org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) 在 org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) 在 org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) 在 org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) 在 org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) 在 org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) 在 org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) 在 org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:55) 在 org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:118) 在 org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:186) 在 org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:179) 在 org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:20) 在 org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:34) 在 org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:18) 在 org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:58) 在 org.mule.execution.ResolvePreviousTransactionInterceptor.execute(ResolvePreviousTransactionInterceptor.java:48) 在 org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:54) 在 org.mule.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:44) 在 org.mule.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:44) 在 org.mule.execution.ExternalTransactionInterceptor.execute(ExternalTransactionInterceptor.java:52) 在 org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:32) 在 org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:17) 在 org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:113) 在 org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:34) 在 org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:178) 在 org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:43) 在 org.mule.work.WorkerContext.run(WorkerContext.java:311) 在 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 在 java.lang.Thread.run(Thread.java:619)
你能帮我解决这个问题吗?我已经设置了 twitter 帐户以进行读写访问,并根据mulesoft 文档consumerKey
提供了、和 的值。
TIAconsumerSecret
accessToken
accessTokenSecret