activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Stone <kst...@connamara.com>
Subject Exception on Connection Destructor
Date Sun, 17 May 2009 09:25:47 GMT
Hello,

Everything is working great, except when I'm trying to cleanup my
connections I will occasionally get this exception when the Connection
destructor is called:

decaf::io::SocketInputStream::read - The connection is broken
    FILE: decaf/net/SocketInputStream.cpp, LINE: 191
    FILE: decaf/io/BufferedInputStream.cpp, LINE: 277
    FILE: decaf/io/BufferedInputStream.cpp, LINE: 190
    FILE: decaf/io/DataInputStream.cpp, LINE: 163
    FILE: activemq/wireformat/openwire/OpenWireFormat.cpp, LINE: 268
    FILE: activemq/transport/IOTransport.cpp, LINE: 235

Any ideas?  I was thinking maybe I wasn't shutting everything down in the
proper order or missing a stop() call.  The basic order is:

MessageConsumer.stop(), destructor
MessageProducer.stop(), destructor
Session.close()
Connection.stop()
Connection.close()
Session destructor
Connection destructor

-- 
Kenny Stone
Connamara Systems, LLC

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message