activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bill richard <billrich...@126.com>
Subject EOFException
Date Thu, 20 Dec 2007 07:22:28 GMT

what this exception is about??

javax.jms.JMSException: java.io.InterruptedIOException
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1183)
        at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1262)
        at
org.apache.activemq.ActiveMQConnection.setClientID(ActiveMQConnection.java:372)
        at
org.gos.common.msg.controller.MessageConsumerWrapper.handleException(Unknown
Source)
        at
org.gos.common.msg.controller.MessageConsumerWrapper.access$000(Unknown
Source)
        at
org.gos.common.msg.controller.MessageConsumerWrapper$2.onException(Unknown
Source)
        at
org.apache.activemq.ActiveMQConnection$3.run(ActiveMQConnection.java:1648)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.InterruptedIOException
        at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:89)
        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
        at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:70)
        at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:75)
        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1172)
        ... 9 more
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at
org.gos.common.msg.controller.MessageConsumerWrapper.handleException(Unknown
Source)
        at
org.gos.common.msg.controller.MessageConsumerWrapper.access$000(Unknown
Source)
        at
org.gos.common.msg.controller.MessageConsumerWrapper$2.onException(Unknown
Source)
        at
org.apache.activemq.ActiveMQConnection$3.run(ActiveMQConnection.java:1648)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
->the below line is printed by my program
Successfully recovered subscribtion.Thu Dec 20 15:19:14 CST 2007


Error encountered,will handle exception.java.io.EOFExceptionThu Dec 20
15:20:15 CST 2007
javax.jms.JMSException: java.io.EOFException
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
        at
org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1642)
        at
org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1659)
        at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
        at
org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:116)
        at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
        at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
        at
org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:143)
        at
org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:169)
        at
org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:95)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:176)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172)
        ... 1 more
->the below line is printed by my program
Successfully recovered subscribtion.Thu Dec 20 15:19:14 CST 2007


-- 
View this message in context: http://www.nabble.com/EOFException-tp14431887s2354p14431887.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message