activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasadt <varaprasad.th...@gmail.com>
Subject java.lang.IllegalStateException: Timer already cancelled
Date Mon, 22 May 2017 18:38:15 GMT
Hi,


we are seeing this exceptions in the  activemq log. Application is trying to
add listener  and failing to add listeners.

below is the activemq  and jboss log  

jboss log 
22:00:03,332 DEBUG
[org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (Camel
(camel-7) thread #305 - JmsConsumer[queue.edi-inbound]) Setup of JMS message
listener invoker failed - already recovered by other invoker:
javax.jms.JMSException: Timer already cancelled.
	at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:54)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1391)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1912)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQMessageConsumer.<init>(ActiveMQMessageConsumer.java:273)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1144)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1088)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1001)
[activemq-client-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.apache.activemq.pool.PooledSession.createConsumer(PooledSession.java:311)
[activemq-pool-5.8.0.redhat-60024.jar:5.8.0.redhat-60024]
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createConsumer(AbstractPollingMessageListenerContainer.java:503)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:224)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecessary(DefaultMessageListenerContainer.java:1094)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1070)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)
[spring-jms-3.1.3.RELEASE.jar:3.1.3.RELEASE]
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: java.lang.IllegalStateException: Timer already cancelled.


active MQ log 


java.lang.IllegalStateException: Timer already cancelled.
	at java.util.Timer.sched(Timer.java:397)[:1.7.0_65]
	at java.util.Timer.schedule(Timer.java:248)[:1.7.0_65]
	at
org.apache.activemq.thread.Scheduler.executePeriodically(Scheduler.java:41)[activemq-client-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]
	at
org.apache.activemq.broker.region.Queue.start(Queue.java:945)[activemq-broker-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]
	at
org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:141)[activemq-broker-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]
	at
org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:348)[activemq-broker-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]
	at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:172)[activemq-broker-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]
	at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:172)[activemq-broker-5.11.0.redhat-621117.jar:5.11.0.redhat-621117]


javax.management.InstanceAlreadyExistsException:
org.apache.activemq:type=Broker,brokerName=phoenix-amq-broker,destinationType=Queue,destinationName=queue.xcbl-inbound
	at
com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_65]
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_65]
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_65]
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_65]
	at c






--
View this message in context: http://activemq.2283324.n4.nabble.com/java-lang-IllegalStateException-Timer-already-cancelled-tp4726422.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message