I ported my code from CPP 2.2.5 to CPP 3.0.1 and after a successful build tried to run it. I can see the Queues and Topics created by the code but after some 10 secs or so.. i get the following messages...
Exception: DataInputStream::readLong - Reached EOF FILE: ./decaf/io/DataInputStream.h, LINE: 378 FILE: decaf/io/DataInputStream.cpp, LINE: 162 FILE: activemq/wireformat/openwire/OpenWireFormat.cpp, LINE: 275 FILE: activemq/transport/IOTransport.cpp, LINE: 235 Exception: DataInputStream::readLong - Reached EOF FILE: ./decaf/io/DataInputStream.h, LINE: 378 FILE: decaf/io/DataInputStream.cpp, LINE: 162 FILE: activemq/wireformat/openwire/OpenWireFormat.cpp, LINE: 275 FILE: activemq/transport/IOTransport.cpp, LINE: 235 Exception: DataInputStream::readLong - Reached EOF FILE: ./decaf/io/DataInputStream.h, LINE: 378 FILE: decaf/io/DataInputStream.cpp, LINE: 162 FILE: activemq/wireformat/openwire/OpenWireFormat.cpp, LINE: 275 FILE: activemq/transport/IOTransport.cpp, LINE: 235 Please note that this happens even when there are no messages sent or received. This same code worked fine with CMS 2.2.5 thanks Nishant -- View this message in context: http://old.nabble.com/CMS-3.0.1%3A-Get-exception-after-sometime-%28approx-10secs%29-tp26133585p26133585.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.