2016-06-15 19 views
0

特定のサーバー・レスポンスから受け取ったリクエストを処理した後。
"アウトバウンドソケットが見つかりません"というエラーが発生します。バウンド・インテグレーションでアウトバウンド・ソケット・エラーが見つかりません

2016-06-15 10:06:41.784 ERROR 5916 --- [task-scheduler-6] o.s.integration.handler.LoggingHandler : org.springframework.messaging.MessageHandlingException: Unable to find outbound socket 
at org.springframework.integration.ip.tcp.TcpSendingMessageHandler.handleMessageInternal(TcpSendingMessageHandler.java:113) 
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:78) 
at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116) 
at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:101) 
at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:97) 
.... 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source) 

デバッグログがあるとエラーメッセージがある

... ...

2016-06-15 10:06:41.773 DEBUG 5916 --- [task-scheduler-6] o.s.integration.channel.DirectChannel : preSend on channel 'flowForConvertingPlainJsonToBytes.channel#2', message: GenericMessage [payload=byte[201], headers={json__ContentTypeId__=class java.lang.String, json__TypeId__=class java.util.HashMap, ip_tcp_remotePort=62114, ip_connectionId=192.168.3.96:62114:5001:9f5bfc60-9e72-44e8-813d-2884b2e12ae1, ip_address=192.168.3.96, id=6dccdee4-7edd-d9bc-c0ac-aa58ebd8a6c7, json__KeyTypeId__=class java.lang.String, contentType=application/json, ip_hostname=192.168.3.96, timestamp=1465952801773}] 
2016-06-15 10:06:41.775 DEBUG 5916 --- [task-scheduler-6] o.s.i.ip.tcp.TcpSendingMessageHandler : plainHandler received message: GenericMessage [payload=byte[201], headers={json__ContentTypeId__=class java.lang.String, json__TypeId__=class java.util.HashMap, ip_tcp_remotePort=62114, ip_connectionId=192.168.3.96:62114:5001:9f5bfc60-9e72-44e8-813d-2884b2e12ae1, ip_address=192.168.3.96, id=6dccdee4-7edd-d9bc-c0ac-aa58ebd8a6c7, json__KeyTypeId__=class java.lang.String, contentType=application/json, ip_hostname=192.168.3.96, timestamp=1465952801773}] 
2016-06-15 10:06:41.778 ERROR 5916 --- [task-scheduler-6] o.s.i.ip.tcp.TcpSendingMessageHandler : Unable to find outbound socket for GenericMessage [payload=byte[201], headers={json__ContentTypeId__=class java.lang.String, json__TypeId__=class java.util.HashMap, ip_tcp_remotePort=62114, ip_connectionId=192.168.3.96:62114:5001:9f5bfc60-9e72-44e8-813d-2884b2e12ae1, ip_address=192.168.3.96, id=6dccdee4-7edd-d9bc-c0ac-aa58ebd8a6c7, json__KeyTypeId__=class java.lang.String, contentType=application/json, ip_hostname=192.168.3.96, timestamp=1465952801773}] 
2016-06-15 10:06:41.780 DEBUG 5916 --- [task-scheduler-6] o.s.i.channel.PublishSubscribeChannel : preSend on channel 'errorChannel', message: ErrorMessage [payload=org.springframework.messaging.MessageHandlingException: Unable to find outbound socket, headers={id=152129a7-062a-409b-2f2d-7c5843ba8296, timestamp=1465952801780}] 
2016-06-15 10:06:41.782 DEBUG 5916 --- [task-scheduler-6] o.s.integration.handler.LoggingHandler : (inner bean)#8c49d03 received message: ErrorMessage [payload=org.springframework.messaging.MessageHandlingException: Unable to find outbound socket, headers={id=152129a7-062a-409b-2f2d-7c5843ba8296, timestamp=1465952801780}] 

ip_connectionIdがあるが存在します。どうしたの?

答えて

0

対応するソケットが閉じられているか、間違った接続ファクトリに関連付けられている送信アダプタに送信しています。

DEBUGロギングが役立ちます。

また、このような質問をするときは、常に設定を含める必要があります。

+0

私はこの問題を解決しました。 ご協力いただきありがとうございます。 – kurochi

+1

私たちはあなたが今は良いことを知ってうれしいですが、他のすべての人々とソリューションを共有して –

関連する問題