activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Li <fancye...@gmail.com>
Subject can't send message Timer already cancelled.
Date Wed, 09 Apr 2014 02:05:45 GMT
in the server's log, only one line message is printed.
2014-04-09 10:03:17,222 | WARN  | Transport Connection to:
tcp://172.19.34.88:51245 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///172.19.34.88:51245@61616

the exception stack of the client:
Exception in thread "main" javax.jms.JMSException: Timer already cancelled.
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java
:54)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.jav
a:1405)
at org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1925
)
at org.apache.activemq.ActiveMQMessageProducer.<init>(ActiveMQMessageProducer.j
ava:125)
at org.apache.activemq.ActiveMQQueueSender.<init>(ActiveMQQueueSender.java:77)
at org.apache.activemq.ActiveMQSession.createSender(ActiveMQSession.java:1459)
at org.apache.activemq.ActiveMQQueueSession.createSender(ActiveMQQueueSession.j
ava:242)
at com.founder.Producer.<init>(TestProducer.java:39)
at com.founder.TestProducer.main(TestProducer.java:18)
Caused by: 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.Queue.start(Queue.java:959)
at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegi
on.java:140)
at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.j
ava:322)
at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167
)
at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.ja
va: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.BrokerFilter.addDestination(BrokerFilter.java:167
)
at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerF
ilter.java:172)
at org.apache.activemq.broker.region.RegionBroker.addProducer(RegionBroker.java
:372)
at org.apache.activemq.broker.jmx.ManagedRegionBroker.addProducer(ManagedRegion
Broker.java:253)
at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:102)
at org.apache.activemq.advisory.AdvisoryBroker.addProducer(AdvisoryBroker.java:
173)
at org.apache.activemq.broker.CompositeDestinationBroker.addProducer(CompositeD
estinationBroker.java:56)
at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:102)
at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:102)
at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilt
er.java:107)
at org.apache.activemq.broker.TransportConnection.processAddProducer(TransportC
onnection.java:534)
at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:105)
at org.apache.activemq.broker.TransportConnection.service(TransportConnection.j
ava:292)
at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnecti
on.java:149)
at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:5
0)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegot
iator.java:113)
at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractIn
activityMonitor.java:270)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.ja
va:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
at java.lang.Thread.run(Thread.java:744)

Mime
View raw message