[ https://issues.apache.org/jira/browse/AMQ-7452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215835#comment-17215835 ]
Raigedas edited comment on AMQ-7452 at 10/17/20, 10:10 AM: ----------------------------------------------------------- i am getting this too. my env: i am running activemq in a docker container. i get the errors in about a week after the start (happened two times alrready). there are 20-50 clients connected at all times. one of them "floods" several messages per second nonstop. {{ERROR | Could not accept connection from tcp://192.168.1.238:55976 : {}}} {{java.lang.IllegalStateException: Timer already cancelled.}} {{ at java.util.Timer.sched(Timer.java:397)[:1.8.0_201]}} {{ at java.util.Timer.schedule(Timer.java:248)[:1.8.0_201]}} {{ at org.apache.activemq.transport.mqtt.MQTTInactivityMonitor.startConnectChecker(MQTTInactivityMonitor.java:239)[activemq-mqtt-5.15.6.jar:5.15.6]}} {{ at org.apache.activemq.transport.mqtt.MQTTTransportFilter.start(MQTTTransportFilter.java:155)[activemq-mqtt-5.15.6.jar:5.15.6]}} {{ at org.apache.activemq.transport.mqtt.MQTTInactivityMonitor.start(MQTTInactivityMonitor.java:148)[activemq-mqtt-5.15.6.jar:5.15.6]}} {{ at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:64)[activemq-client-5.15.6.jar:5.15.6]}} {{ at org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:1066)[activemq-broker-5.15.6.jar:5.15.6]}} {{ at org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:218)[activemq-broker-5.15.6.jar:5.15.6]}} {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_201]}} {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_201]}} {{ at java.lang.Thread.run(Thread.java:748)[:1.8.0_201]}} {{ERROR | Could not accept connection from tcp://192.168.1.225:54107 : {}}} was (Author: freeraigedas): i am getting this too. my env: i am running activemq in a docker container. i get the errors in about a week after the start (happened two times alrready). there are 20-50 clients connected at all times. one of them "floods" several messages per second nonstop. > java.lang.IllegalStateException: Timer already cancelled. > --------------------------------------------------------- > > Key: AMQ-7452 > URL: https://issues.apache.org/jira/browse/AMQ-7452 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.15.3 > Reporter: wangxiaoqing > Priority: Blocker > Attachments: activemq.xml, docker-mq.yaml > > > 2020-03-24 12:54:47,990 | ERROR | Could not accept connection from > tcp://10.0.1.5:41212 : {} | org.apache.activemq.broker.TransportConnector | > ActiveMQ BrokerService[localhost] Task-174422020-03-24 12:54:47,990 | ERROR | > Could not accept connection from tcp://10.0.1.5:41212 : {} | > org.apache.activemq.broker.TransportConnector | ActiveMQ > BrokerService[localhost] Task-17442java.lang.IllegalStateException: Timer > already cancelled. at java.util.Timer.sched(Timer.java:397)[:1.8.0_191] at > java.util.Timer.schedule(Timer.java:193)[:1.8.0_191] at > org.apache.activemq.transport.AbstractInactivityMonitor.startConnectCheckTask(AbstractInactivityMonitor.java:425)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.transport.AbstractInactivityMonitor.startConnectCheckTask(AbstractInactivityMonitor.java:400)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:50)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:64)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:64)[activemq-client-5.15.3.jar:5.15.3] > at > org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:1066)[activemq-broker-5.15.3.jar:5.15.3] > at > org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:218)[activemq-broker-5.15.3.jar:5.15.3] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_191] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_191] > at java.lang.Thread.run(Thread.java:748)[:1.8.0_191] -- This message was sent by Atlassian Jira (v8.3.4#803005)