Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6382

Getting Timer cancelled error in AMQ

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.0
    • Component/s: Broker
    • Labels:
    • Environment:

      Linux 64 bit

      Description

      Hi Team,

      Am using 2 instance in Active Mq. I have changed Ports in activemq.xml and jetty.xml. but while stating 1st instance am getting below error.

      2016-07-29 10:49:45,862 | WARN | Failed to remove consumer: ID:ideagalorerbt-60995-1469694759248-1:44328:5:1 | org.apache.activemq.broker.TransportConnection | ActiveMQ BrokerService[instance1] Task-4
      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.thread.Scheduler.schedualPeriodically(Scheduler.java:50)
      at org.apache.activemq.broker.region.Topic.start(Topic.java:557)
      at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:140)
      at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:322)
      at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
      at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
      at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:185)
      at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
      at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
      at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:172)
      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:436)
      at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:283)
      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:147)
      at org.apache.activemq.broker.scheduler.SchedulerBroker.send(SchedulerBroker.java:169)
      at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:585)
      at org.apache.activemq.advisory.AdvisoryBroker.fireConsumerAdvisory(AdvisoryBroker.java:534)
      at org.apache.activemq.advisory.AdvisoryBroker.fireConsumerAdvisory(AdvisoryBroker.java:520)
      at org.apache.activemq.advisory.AdvisoryBroker.removeConsumer(AdvisoryBroker.java:272)
      at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:132)
      at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:132)
      at org.apache.activemq.broker.MutableBrokerFilter.removeConsumer(MutableBrokerFilter.java:137)
      at org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:619)
      at org.apache.activemq.broker.TransportConnection.processRemoveSession(TransportConnection.java:658)
      at org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:770)
      at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1107)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                amaljanu Arockia Amal Raj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: