javax.jms.JMSException: Timer already cancelled.

Atlassian JIRA | nicolas lescure | 6 years ago
  1. 0

    Hi, Our remote agent doesn't want to start. It fails with the exception: 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:1285) at org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1897) at org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1324) at org.jencks.amqpool.PooledSession.createTemporaryQueue(PooledSession.java:163) 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:172) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:20) at java.lang.Thread.run(Unknown Source) leading up to a ERROR | wrapper | 2011/01/31 16:35:34 | JVM exited unexpectedly. Any help would be greatly appreciated. Thanks in advance.

    Atlassian JIRA | 6 years ago | nicolas lescure
    javax.jms.JMSException: Timer already cancelled.
  2. 0

    Hi, Our remote agent doesn't want to start. It fails with the exception: 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:1285) at org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1897) at org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1324) at org.jencks.amqpool.PooledSession.createTemporaryQueue(PooledSession.java:163) 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:172) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:20) at java.lang.Thread.run(Unknown Source) leading up to a ERROR | wrapper | 2011/01/31 16:35:34 | JVM exited unexpectedly. Any help would be greatly appreciated. Thanks in advance.

    Atlassian JIRA | 6 years ago | nicolas lescure
    javax.jms.JMSException: Timer already cancelled.
  3. 0

    Strange exception raised from ActiveMQ

    Stack Overflow | 4 years ago | user1484819
    javax.jms.JMSException: Implement me.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erratic javax.jms.JMSException: Peer disposed

    Stack Overflow | 6 years ago | Diego D
    javax.jms.JMSException: Peer (vm://test#1) disposed.
  6. 0

    Activemq Error in servicemix

    Stack Overflow | 3 years ago | Sam
    javax.jms.JMSException: Channel was inactive for too long: localhost/127.0.0.1:61616

    14 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. javax.jms.JMSException

      Timer already cancelled.

      at org.apache.activemq.util.JMSExceptionSupport.create()
    2. ActiveMQ :: Broker
      JMSExceptionSupport.create
      1. org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
      1 frame
    3. ActiveMQ :: Core
      ActiveMQSession.createTemporaryQueue
      1. org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1285)
      2. org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1897)
      3. org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1324)
      3 frames
    4. org.jencks.amqpool
      PooledSession.createTemporaryQueue
      1. org.jencks.amqpool.PooledSession.createTemporaryQueue(PooledSession.java:163)
      1 frame
    5. Lingo
      MultiplexingRequestor.<init>
      1. org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.createTemporaryDestination(SingleThreadedRequestor.java:109)
      2. org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.getReceiver(SingleThreadedRequestor.java:119)
      3. org.logicblaze.lingo.jms.impl.MultiplexingRequestor.init(MultiplexingRequestor.java:86)
      4. org.logicblaze.lingo.jms.impl.MultiplexingRequestor.<init>(MultiplexingRequestor.java:80)
      4 frames
    6. com.atlassian.bamboo
      BambooJmsProxyFactoryBean.createRequestor
      1. com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.<init>(BambooMultiplexingRequestor.java:51)
      2. com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.newInstance(BambooMultiplexingRequestor.java:37)
      3. com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.createRequestor(BambooJmsProxyFactoryBean.java:38)
      3 frames
    7. Lingo
      JmsProxyFactoryBean.afterPropertiesSet
      1. org.logicblaze.lingo.jms.JmsClientInterceptor.afterPropertiesSet(JmsClientInterceptor.java:114)
      2. org.logicblaze.lingo.jms.JmsProxyFactoryBean.afterPropertiesSet(JmsProxyFactoryBean.java:44)
      2 frames
    8. com.atlassian.bamboo
      BambooJmsProxyFactoryBean.afterPropertiesSet
      1. com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.afterPropertiesSet(BambooJmsProxyFactoryBean.java:26)
      1 frame
    9. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
      4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
      9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
      10. org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:389)
      11. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:120)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795)
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
      15. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
      16. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
      17. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      19. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
      19 frames
    10. Spring Context
      ClassPathXmlApplicationContext.<init>
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
      2. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
      3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)
      3 frames
    11. com.atlassian.bamboo
      AgentRunner.run
      1. com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:172)
      2. com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52)
      3. com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:20)
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame