[
https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229174#comment-13229174
]
Bhanu commented on AMQ-3753:
----------------------------
Sorry for the delay here. I am using version 5.5.1.
This error is not thrown every time but 3 out of 5 times I am seeing this in my
setup. Here is the complete stacktrace:-
2012-03-14 18:39:44,718 | ERROR | Could not stop service: TcpTransport. Reason:
java.lang.IllegalStateException: Timer already cancelled. |
org.apache.activemq.broker.jmx.ManagedTransportConnector | ActiveMQ ShutdownHook
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:397)
at java.util.Timer.schedule(Timer.java:248)
at org.apache.activemq.jmdns.JmDNS$Canceler.start(JmDNS.java:2202)
at org.apache.activemq.jmdns.JmDNS.unregisterService(JmDNS.java:648)
at
org.apache.activemq.transport.discovery.rendezvous.RendezvousDiscoveryAgent.stop(RendezvousDiscoveryAgent.java:88)
at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
at
org.apache.activemq.broker.TransportConnector.stop(TransportConnector.java:282)
at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
at
org.apache.activemq.broker.BrokerService.stopAllConnectors(BrokerService.java:1658)
at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:580)
at
org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1995)
at
org.apache.activemq.broker.BrokerService$4.run(BrokerService.java:1962)
2012-03-14 18:39:44,994 | ERROR | Could not stop service: TcpTransport. Reason:
java.lang.IllegalStateException: Timer already cancelled. |
org.apache.activemq.broker.jmx.ManagedTransportConnector | Thread-5
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:397)
at java.util.Timer.schedule(Timer.java:248)
at org.apache.activemq.jmdns.JmDNS$Canceler.start(JmDNS.java:2202)
at org.apache.activemq.jmdns.JmDNS.unregisterService(JmDNS.java:648)
at
org.apache.activemq.transport.discovery.rendezvous.RendezvousDiscoveryAgent.stop(RendezvousDiscoveryAgent.java:88)
at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
at
org.apache.activemq.broker.TransportConnector.stop(TransportConnector.java:282)
at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
at
org.apache.activemq.broker.BrokerService.stopAllConnectors(BrokerService.java:1658)
at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:580)
at
org.apache.activemq.console.command.StartCommand$1.run(StartCommand.java:135)
> Exception on stopping the broker - Timer already cancelled
> ----------------------------------------------------------
>
> Key: AMQ-3753
> URL: https://issues.apache.org/jira/browse/AMQ-3753
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Bhanu
> Priority: Minor
>
> I get this exception when i try to kill the broker.
> Failed to shut down: java.lang.IllegalStateException: Timer already cancelled.
> And the broker is killed, but why the exception ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira