Mule 3.3.1 CE与Twitter的集成

Mule 3.3.1 CE与Twitter的集成,mule,esb,twitter4j,mule-studio,Mule,Esb,Twitter4j,Mule Studio,当我在JDK 1.6.0_21(32位)Windows 7 x64上从Mule Studio 1.3.2 x64(Mule 3.3.1 CE运行时)运行order discounter示例应用程序时,我得到以下堆栈跟踪: INFO 2013-06-25 10:29:13,507 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager: Starting connecto

当我在JDK 1.6.0_21(32位)Windows 7 x64上从Mule Studio 1.3.2 x64(Mule 3.3.1 CE运行时)运行order discounter示例应用程序时,我得到以下堆栈跟踪:

INFO 2013-06-25 10:29:13,507 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager: Starting connector: connector.https.mule.default INFO 2013-06-25 10:29:13,517 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager: Initialising: 'connector.https.mule.default.dispatcher.11950696'. Object is: HttpsClientMessageDispatcher INFO 2013-06-25 10:29:13,527 [[orderdiscounter].order_management.async1.02] org.mule.lifecycle.AbstractLifecycleManager: Starting: 'connector.https.mule.default.dispatcher.11950696'. Object is: HttpsClientMessageDispatcher ERROR 2013-06-25 10:29:14,047 [[orderdiscounter].order_management.async1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to invoke updateStatus. Message payload is of type: String Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : Order #: 1 Date: 2013.06.25 10:29:13 CDT Order total: 12300.0 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. Could not authenticate with OAuth (twitter4j.TwitterException) org.mule.twitter.TwitterConnector:687 (null) 2. Failed to invoke updateStatus. Message payload is of type: String (org.mule.api.MessagingException) org.mule.twitter.processors.UpdateStatusMessageProcessor:164 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) ******************************************************************************** Root Exception stack trace: Could not authenticate with OAuth Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=00000000 or http://www.google.co.jp/search?q=00000000 TwitterException{exceptionCode=[00000000-00000000], statusCode=-1, retryAfter=-1, rateLimitStatus=null, featureSpecificRateLimitStatus=null, version=2.2.5} at org.mule.twitter.TwitterConnector.updateStatus(TwitterConnector.java:687) at org.mule.twitter.processors.UpdateStatusMessageProcessor$1.process(UpdateStatusMessageProcessor.java:153) at org.mule.twitter.adapters.TwitterConnectorProcessAdapter$1.execute(TwitterConnectorProcessAdapter.java:36) at org.mule.twitter.processors.UpdateStatusMessageProcessor.process(UpdateStatusMessageProcessor.java:139) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) at org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:55) at org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:118) at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:186) at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:179) at org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:20) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:34) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:18) at org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:58) at org.mule.execution.ResolvePreviousTransactionInterceptor.execute(ResolvePreviousTransactionInterceptor.java:48) at org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:54) at org.mule.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:44) at org.mule.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:44) at org.mule.execution.ExternalTransactionInterceptor.execute(ExternalTransactionInterceptor.java:52) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:32) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:17) at org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:113) at org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:34) at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:178) at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:43) at org.mule.work.WorkerContext.run(WorkerContext.java:311) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 信息2013-06-25 10:29:13507[[orderdiscounter].order_management.async1.02]org.mule.lifecycle.AbstractLifecycleManager:启动连接器:连接器.https.mule.default 信息2013-06-25 10:29:13517[[orderdiscounter].order_management.async1.02]org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认出站转换器:org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest 信息2013-06-25 10:29:13527[[orderdiscounter].order_management.async1.02]org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认响应转换器:org.mule.transport.http.transformers.MuleMessageToHttpResponse 信息2013-06-25 10:29:13527[[orderdiscounter].order_management.async1.02]org.mule.transport.service.DefaultTransportServiceDescriptor:加载默认出站转换器:org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest 信息2013-06-25 10:29:13527[[orderdiscounter].order_management.async1.02]org.mule.lifecycle.AbstractLifecycleManager:初始化:“connector.https.mule.default.dispatcher.11950696”。对象是:HttpsClientMessageDispatcher 信息2013-06-25 10:29:13527[[orderdiscounter].order_management.async1.02]org.mule.lifecycle.AbstractLifecycleManager:开始:“connector.https.mule.default.dispatcher.11950696”。对象是:HttpsClientMessageDispatcher 错误2013-06-25 10:29:14047[[orderdiscounter].order_management.async1.02]org.mule.exception.DefaultMessaginExceptionStrategy: ******************************************************************************** 消息:调用updateStatus失败。消息负载的类型为:String 类型:org.mule.api.MessaginException 代码:MULE_错误--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。消息负载的类型为:String(org.mule.api.MessaginException) 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],状态代码=-1,retryAfter=-1,rateLimitStatus=null,featureSpecificRateLimitStatus=null,版本=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.exceptionMessaginExceptionExecutionInterceptor.execute(exceptionMessaginExceptionExecutionInterceptor.java:27) 位于org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) 位于org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) 位于org.mule.execution.exceptionMessaginExceptionExecutionInterceptor.execute(exceptionMessaginExceptionExecutionInterceptor.java:27) 位于org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43) 位于org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43) 位于org.mule.execution.exceptionMessaginExceptionExecutionInterceptor.execute(exceptionMessaginExceptionExecutionInterceptor.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$AsyncMessageProcessor$1.process(AsyncInterceptingMessageProcessor.java:186) 位于org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessor$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(ExternalT