activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject TransportDisposedIOException on shutdown
Date Wed, 01 Nov 2006 02:53:43 GMT
Is there anyway, we can make AMQ not log TransportDisposedIOException  
on shutdown.  The just shutdown code rethrows it to the caller, so it  
is just extra extraneous logging.  Even better can, you just eat the  
exception.  It seems like it is just another junk shutdown message  
that you can't do anything about.

-dain

18:48:18,639 ERROR [CommandAgent] Could not stop service:  
org.apache.activemq.broker.util.CommandAgent@8e9c2f. Reason:  
javax.jms.JMSException: Peer (vm://localhost#3) disposed.
javax.jms.JMSException: Peer (vm://localhost#3) disposed.
         at org.apache.activemq.util.JMSExceptionSupport.create 
(JMSExceptionSupport.java:58)
         at org.apache.activemq.ActiveMQConnection.syncSendPacket 
(ActiveMQConnection.java:1156)
         at org.apache.activemq.ActiveMQSession.syncSendPacket 
(ActiveMQSession.java:1660)
         at org.apache.activemq.ActiveMQMessageConsumer.close 
(ActiveMQMessageConsumer.java:541)
         at org.apache.activemq.broker.util.CommandAgent.stop 
(CommandAgent.java:60)
         at org.apache.activemq.util.ServiceStopper.stop 
(ServiceStopper.java:42)
         at org.apache.activemq.broker.BrokerService.stop 
(BrokerService.java:432)
         at org.apache.activemq.gbean.BrokerServiceGBeanImpl.doStop 
(BrokerServiceGBeanImpl.java:100)
         at  
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance 
(GBeanInstance.java:1146)
         at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop 
(GBeanInstanceState.java:337)
         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:188)
         at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:551)
         at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:180)
         at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:551)
         at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:180)
         at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:551)
         at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
         at  
org.apache.geronimo.kernel.config.KernelConfigurationManager 
$ShutdownHook.run(KernelConfigurationManager.java:310)
         at  
org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks 
(BasicKernel.java:668)
         at org.apache.geronimo.kernel.basic.BasicKernel.shutdown 
(BasicKernel.java:645)
         at org.apache.geronimo.system.main.Daemon$1.run(Daemon.java: 
234)
Caused by:  
org.apache.activemq.transport.TransportDisposedIOException: Peer  
(vm://localhost#3) disposed.
         at org.apache.activemq.transport.vm.VMTransport.oneway 
(VMTransport.java:86)
         at org.apache.activemq.transport.MutexTransport.oneway 
(MutexTransport.java:43)
         at  
org.apache.activemq.transport.ResponseCorrelator.asyncRequest 
(ResponseCorrelator.java:69)
         at org.apache.activemq.transport.ResponseCorrelator.request 
(ResponseCorrelator.java:74)
         at org.apache.activemq.ActiveMQConnection.syncSendPacket 
(ActiveMQConnection.java:1146)
         ... 21 more


Mime
View raw message