activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antsa <...@teamware.com>
Subject Transport disposed exceptions on shutdown
Date Thu, 05 Mar 2009 04:31:22 GMT

I have an embedded broker started via a Spring ApplicationContext using the
activemq.xml file shipped with standard 5.2.0.

When shutting down my Container and closing the Spring context, I get some
exceptions logged.  The first is at DEBUG level

2009-03-05 15:25:20,765 DEBUG[VMTransport]:
org.apache.activemq.ActiveMQConnection [null] - Async exception with no
exception listener:
org.apache.activemq.transport.TransportDisposedIOException: Peer
(vm://localhost#1) disposed.
org.apache.activemq.transport.TransportDisposedIOException: Peer
(vm://localhost#1) disposed.
        at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:203)

and the second a short while later @INFO

2009-03-05 15:25:21,046 INFO [TossContainer]:
org.apache.activemq.AdvisoryConsumer [Container] - Failed to send remove
command: javax.jms.JMSException: Transport disposed.
javax.jms.JMSException: Transport disposed.
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
        at
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1216)
        at
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1208)
        at
org.apache.activemq.AdvisoryConsumer.dispose(AdvisoryConsumer.java:56)

I am assuming that as these are not any ERROR or WARNING logs they can be
ignored (??) but isn't having the INFO Exception stack trace a bit
unnecessary in an otherwise clean shutdown.  

Is there any way to disable this other than disabling INFO logging for this
class - If I do that will I lose something useful?

Antony

-- 
View this message in context: http://www.nabble.com/Transport-disposed-exceptions-on-shutdown-tp22345081p22345081.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message