You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bhanu (Created) (JIRA)" <ji...@apache.org> on 2012/03/02 12:10:57 UTC
[jira] [Created] (AMQ-3753) Exception on stopping the broker
Exception on stopping the broker
--------------------------------
Key: AMQ-3753
URL: https://issues.apache.org/jira/browse/AMQ-3753
Project: ActiveMQ
Issue Type: Bug
Reporter: Bhanu
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
[jira] [Updated] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated AMQ-3753:
-----------------------------
Priority: Minor (was: Major)
Summary: Exception on stopping the broker - Timer already cancelled (was: Exception on stopping the broker)
> 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
[jira] [Commented] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Bhanu (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255609#comment-13255609 ]
Bhanu commented on AMQ-3753:
----------------------------
Thanks a lot Rob !!
> 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
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.6.0
>
>
> 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
[jira] [Commented] (AMQ-3753) Exception on stopping the broker
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220847#comment-13220847 ]
Claus Ibsen commented on AMQ-3753:
----------------------------------
Can you post the full stracktrace. And log which version of the broker you are using. eg when reporting issues be more detailed.
> Exception on stopping the broker
> --------------------------------
>
> Key: AMQ-3753
> URL: https://issues.apache.org/jira/browse/AMQ-3753
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Bhanu
>
> 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
[jira] [Commented] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Timothy Bish (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220928#comment-13220928 ]
Timothy Bish commented on AMQ-3753:
-----------------------------------
This sounds like something we saw in a SNAPSHOT build some time ago that has since been resolved. Really need more info to know for sure though.
> 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
[jira] [Reopened] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Bhanu (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhanu reopened AMQ-3753:
------------------------
> 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
[jira] [Resolved] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Rob Davies (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies resolved AMQ-3753.
-----------------------------
Resolution: Fixed
Fix Version/s: 5.6.0
Assignee: Rob Davies
Fixed by SVN revision 1326056
> 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
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.6.0
>
>
> 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
[jira] [Closed] (AMQ-3753) Exception on stopping the broker - Timer
already cancelled
Posted by "Timothy Bish (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-3753.
-----------------------------
Resolution: Incomplete
Not enough info provided here to go on.
> 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
[jira] [Commented] (AMQ-3753) Exception on stopping the broker -
Timer already cancelled
Posted by "Bhanu (Commented) (JIRA)" <ji...@apache.org>.
[ 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