activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Green (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4805) IllegalStateException during thread.Scheduler.schedualPeriodically
Date Fri, 07 Feb 2014 23:05:23 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895209#comment-13895209
] 

Brandon Green commented on AMQ-4805:
------------------------------------

We also just started seeing this same error in our production broker, it seems to happen sporadically,
as some services are still able to connect to the broker fine, but when running clients from
within an IDE they are always failing

{code}
15:16:05,961 | WARN  | IO Worker 647456 | Service                          | 114 - org.apache.activemq.activemq-osgi
- 5.8.0.redhat-60024 | Async error occurred: java.lang.IllegalStateException: Timer already
cancelled.
java.lang.IllegalStateException: Timer already cancelled.
                at java.util.Timer.sched(Unknown Source)[:1.7.0_40]
                at java.util.Timer.schedule(Unknown Source)[:1.7.0_40]
                at org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:50)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.region.Topic.start(Topic.java:549)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:142)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:277)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:174)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:151)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:151)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.util.LoggingBrokerPlugin.addDestination(LoggingBrokerPlugin.java:332)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:151)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:387)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:282)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:550)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.advisory.AdvisoryBroker.fireProducerAdvisory(AdvisoryBroker.java:518)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.advisory.AdvisoryBroker.fireProducerAdvisory(AdvisoryBroker.java:503)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.advisory.AdvisoryBroker.addProducer(AdvisoryBroker.java:167)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.CompositeDestinationBroker.addProducer(CompositeDestinationBroker.java:56)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilter.java:99)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilter.java:99)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.util.LoggingBrokerPlugin.addProducer(LoggingBrokerPlugin.java:206)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilter.java:99)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.TransportConnection.processAddProducer(TransportConnection.java:566)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:105)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:288)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.nio.NIOTransport.serviceRead(NIOTransport.java:138)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.nio.NIOTransport$1.onSelect(NIOTransport.java:69)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.nio.SelectorSelection.onSelect(SelectorSelection.java:94)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at org.apache.activemq.transport.nio.SelectorWorker$1.run(SelectorWorker.java:119)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[:1.7.0_40]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.7.0_40]
                at java.lang.Thread.run(Unknown Source)[:1.7.0_40]
{code}

> IllegalStateException during thread.Scheduler.schedualPeriodically
> ------------------------------------------------------------------
>
>                 Key: AMQ-4805
>                 URL: https://issues.apache.org/jira/browse/AMQ-4805
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.7.0
>            Reporter: Martin Lichtin
>
> java.lang.IllegalStateException: Timer already cancelled.
>         at java.util.Timer.sched(Timer.java:397)[:1.7.0_25]
>         at java.util.Timer.schedule(Timer.java:248)[:1.7.0_25]
>         at org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:50)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.region.Topic.start(Topic.java:541)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:143)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:286)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:175)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:145)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:151)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:481)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:311)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:551)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.advisory.AdvisoryBroker.fireProducerAdvisory(AdvisoryBroker.java:519)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.advisory.AdvisoryBroker.fireProducerAdvisory(AdvisoryBroker.java:504)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.advisory.AdvisoryBroker.addProducer(AdvisoryBroker.java:168)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.CompositeDestinationBroker.addProducer(CompositeDestinationBroker.java:56)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilter.java:99)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.TransportConnection.processAddProducer(TransportConnection.java:511)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:105)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:152)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:256)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:222)[121:org.apache.activemq.activemq-core:5.7.0]
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204)[121:org.apache.activemq.activemq-core:5.7.0]
>         at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]
> The broker is started as
>     broker = new BrokerService();
>     new StatisticsBrokerPlugin().installPlugin(broker.getBroker());
>     broker.setPersistent(false);
>     broker.setUseJmx(false);
>     broker.addConnector("tcp://127.0.0.1:" + ACTIVEMQ_OPENWIRE_PORT);
>     broker.start();



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message