activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Exception on Connection Destructor
Date Sun, 17 May 2009 23:59:42 GMT
This is an error you can safely ignore and has been resolved in the 3.0
code base.  You can open a Jira issue on the problem and we will attempt
to resolve at some point in the future on the 2.x branch.  

On Sun, 2009-05-17 at 18:37 -0500, Kenny Stone wrote:
> Via the ExceptionListener.
> 
> On Sun, May 17, 2009 at 6:05 PM, Timothy Bish <tabish121@gmail.com> wrote:
> 
> > On Sun, 2009-05-17 at 04:25 -0500, Kenny Stone wrote:
> > > 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
> > >
> >
> > Is this an exception that you receive via the ExceptionListener
> > onException callback or is it thrown by one of the methods you are
> > calling at shutdown?
> >
> > Regards
> > Tim.
> >
> >
> > --
> > Tim Bish
> > http://fusesource.com
> > http://timbish.blogspot.com/
> >
> >
> >
> >
> 
> 
-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Mime
View raw message