javax.jms.JMSException: Timer already cancelled.

Atlassian JIRA | Renan Battaglin | 5 years ago
  1. 0

    {code} 2011-11-14 11:32:23,117 WARN [Thread-1] [BambooJmsProxyFactoryBean] Exception when running afterPropertiesSet javax.jms.JMSException: Timer already cancelled. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1287) at org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1922) at org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1330) at org.apache.activemq.pool.PooledSession.createTemporaryQueue(PooledSession.java:165) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.createTemporaryDestination(SingleThreadedRequestor.java:109) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.getReceiver(SingleThreadedRequestor.java:119) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.init(MultiplexingRequestor.java:86) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.<init>(MultiplexingRequestor.java:80) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.<init>(BambooMultiplexingRequestor.java:51) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.newInstance(BambooMultiplexingRequestor.java:37) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.createRequestor(BambooJmsProxyFactoryBean.java:38) at org.logicblaze.lingo.jms.JmsClientInterceptor.afterPropertiesSet(JmsClientInterceptor.java:114) at org.logicblaze.lingo.jms.JmsProxyFactoryBean.afterPropertiesSet(JmsProxyFactoryBean.java:44) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.afterPropertiesSet(BambooJmsProxyFactoryBean.java:26) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:389) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:159) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:54) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:376) at java.util.Timer.schedule(Timer.java:244) at org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:49) at org.apache.activemq.broker.region.Queue.start(Queue.java:835) at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:129) at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:304) at org.apache.activemq.broker.region.RegionBroker.addDestinationInfo(RegionBroker.java:367) at org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:172) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223) at org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:484) at org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185) at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69) at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113) at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228) at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202) {code} A restart of the Bamboo Server fixes the problem, however a *second restart* should not be necessary after the upgrade.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    javax.jms.JMSException: Timer already cancelled.
  2. 0

    {code} 2011-11-14 11:32:23,117 WARN [Thread-1] [BambooJmsProxyFactoryBean] Exception when running afterPropertiesSet javax.jms.JMSException: Timer already cancelled. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1287) at org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1922) at org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1330) at org.apache.activemq.pool.PooledSession.createTemporaryQueue(PooledSession.java:165) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.createTemporaryDestination(SingleThreadedRequestor.java:109) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.getReceiver(SingleThreadedRequestor.java:119) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.init(MultiplexingRequestor.java:86) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.<init>(MultiplexingRequestor.java:80) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.<init>(BambooMultiplexingRequestor.java:51) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.newInstance(BambooMultiplexingRequestor.java:37) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.createRequestor(BambooJmsProxyFactoryBean.java:38) at org.logicblaze.lingo.jms.JmsClientInterceptor.afterPropertiesSet(JmsClientInterceptor.java:114) at org.logicblaze.lingo.jms.JmsProxyFactoryBean.afterPropertiesSet(JmsProxyFactoryBean.java:44) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.afterPropertiesSet(BambooJmsProxyFactoryBean.java:26) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:389) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:159) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:54) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:376) at java.util.Timer.schedule(Timer.java:244) at org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:49) at org.apache.activemq.broker.region.Queue.start(Queue.java:835) at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:129) at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:304) at org.apache.activemq.broker.region.RegionBroker.addDestinationInfo(RegionBroker.java:367) at org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:172) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223) at org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:484) at org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185) at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69) at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113) at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228) at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202) {code} A restart of the Bamboo Server fixes the problem, however a *second restart* should not be necessary after the upgrade.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    javax.jms.JMSException: Timer already cancelled.
  3. 0

    ActiveMQ - User - ActiveMQ 5.5.0 broker crashing

    nabble.com | 9 months ago
    javax.jms.JMSException: Timer already cancelled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Closed] (AMQ-4805) IllegalStateException during thread.Scheduler.schedualPeriodically

    activemq-dev | 3 years ago | Timothy Bish (JIRA)
    java.lang.IllegalStateException: Timer already cancelled.
  6. 0

    [jira] [Closed] (AMQ-4805) IllegalStateException during thread.Scheduler.schedualPeriodically

    activemq-dev | 3 years ago | Timothy Bish (JIRA)
    java.lang.IllegalStateException: Timer already cancelled.

  1. eti22 2 times, last 2 weeks ago
  2. mauritius 2 times, last 1 week ago
  3. poroszd 2 times, last 2 months ago
  4. Stefan Braune 3 times, last 6 months ago
  5. dmitry 1 times, last 6 months ago
3 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Timer already cancelled.

    at java.util.Timer.sched()
  2. Java RT
    Timer.schedule
    1. java.util.Timer.sched(Timer.java:376)
    2. java.util.Timer.schedule(Timer.java:244)
    2 frames
  3. ActiveMQ :: Core
    Scheduler.schedualPeriodically
    1. org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:49)
    1 frame
  4. ActiveMQ :: Broker
    TransportConnection.processAddDestination
    1. org.apache.activemq.broker.region.Queue.start(Queue.java:835)
    2. org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:129)
    3. org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:304)
    4. org.apache.activemq.broker.region.RegionBroker.addDestinationInfo(RegionBroker.java:367)
    5. org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:172)
    6. org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
    7. org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
    8. org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223)
    9. org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:484)
    9 frames
  5. ActiveMQ :: Core
    DestinationInfo.visit
    1. org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122)
    1 frame
  6. ActiveMQ :: Broker
    TransportConnection$1.onCommand
    1. org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311)
    2. org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
    2 frames
  7. AMQ HTTP
    TransportSupport.doConsume
    1. org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
    2. org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
    3. org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228)
    4. org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
    4 frames
  8. ActiveMQ :: Core
    TcpTransport.run
    1. org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
    2. org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)
    2 frames