Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
5.7.0
-
None
-
None
Description
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();