javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format.

GodByeWord 发布于 2013/09/10 12:12
阅读 4K+
收藏 0

之前都运行正常的,今天突然抛出这个异常,熟悉jms的大虾请前来围观

JMSException:

javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format.

at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1395)
at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1481)
at org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:323)
at com.xinlab.blueapple.util.JMSLog2.initialize(JMSLog2.java:78)
at com.xinlab.blueapple.util.JMSLog2.<init>(JMSLog2.java:54)
at com.xinlab.blueapple.util.JMSLog2.getInstance(JMSLog2.java:46)
at com.xinlab.blueapple.util.JMSReLogThread.run(JMSReLogThread.java:21)
Caused by: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:98)
at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1366)

以下是问题补充:

@GodByeWord:是在activeMq 客户端初始化(createSession)的时候出现的异常 (2013/09/10 14:38)
加载中
0
王瑞平
王瑞平
突然出现的话大体应该是并发量过大造成超时
0
GodByeWord
GodByeWord

引用来自“王瑞平”的答案

突然出现的话大体应该是并发量过大造成超时
确实是负载的问题,重启activeMq ,问题解决!
返回顶部
顶部