activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Anderson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1383) org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed
Date Sun, 14 Oct 2007 00:18:23 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40374
] 

Jason Anderson commented on AMQ-1383:
-------------------------------------

I can reproduce this by stopping the server while clients are still connected

> org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1383
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1383
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 4.1.1
>         Environment: MS Vista, JDK 1.6, ActiveMq 4.1.1
>            Reporter: Ulrich
>
> Came back  into office this morning and spotted this, can't tell if my application continued
as usual as i have only very little activity in the application. 
> Exception in thread "ActiveMQ Transport: tcp://XXX/YYY:61616" java.lang.ClassCastException:
org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed
>       at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.compareTo(ScheduledThreadPoolExecutor.java:189)
>       at edu.emory.mathcs.backport.java.util.PriorityQueue.remove(PriorityQueue.java:507)
>       at edu.emory.mathcs.backport.java.util.concurrent.DelayQueue.remove(DelayQueue.java:379)
>       at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.remove(ScheduledThreadPoolExecutor.java:707)
>       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.remove(ThreadPoolExecutor.java:1582)
>       at org.apache.activemq.thread.Scheduler.cancel(Scheduler.java:55)
>       at org.apache.activemq.transport.InactivityMonitor.stopMonitorThreads(InactivityMonitor.java:176)
>       at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:149)
>       at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:97)
>       at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:150)
>       at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message