You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "SuoNayi Wang (JIRA)" <ji...@apache.org> on 2010/01/10 13:54:17 UTC

[jira] Updated: (AMQ-2562) After broker's keepDurableSubsActive property is set to false,subscription get ClassCastException when subscription offline.

     [ https://issues.apache.org/activemq/browse/AMQ-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SuoNayi Wang updated AMQ-2562:
------------------------------

    Summary: After broker's keepDurableSubsActive property is set to false,subscription get ClassCastException when subscription offline.  (was: After broker's keepDurableSubsActive property is set to false,subscription got ClassCastException when subscription is offline.)

> After broker's keepDurableSubsActive property is set to false,subscription get ClassCastException when subscription offline.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2562
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2562
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: SuoNayi Wang
>
> 2010-01-08 12:11:25,318 [31.126.23:17828] WARN  TransportConnection            - Failed to remove consumer: ID:arpapp.simm.arp.cn-55806-1262881872566-0:0:2:1. Reason: java.lang.ClassCastException: org.apache.activemq.command.ActiveMQObjectMessage
> java.lang.ClassCastException: org.apache.activemq.command.ActiveMQObjectMessage
> 	at org.apache.activemq.broker.region.PrefetchSubscription.remove(PrefetchSubscription.java:544)
> 	at org.apache.activemq.broker.region.Topic.deactivate(Topic.java:254)
> 	at org.apache.activemq.broker.region.DurableTopicSubscription.deactivate(DurableTopicSubscription.java:144)
> 	at org.apache.activemq.broker.region.TopicRegion.removeConsumer(TopicRegion.java:118)
> 	at org.apache.activemq.broker.region.RegionBroker.removeConsumer(RegionBroker.java:395)
> 	at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
> 	at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
> 	at org.apache.activemq.advisory.AdvisoryBroker.removeConsumer(AdvisoryBroker.java:222)
> 	at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
> 	at org.apache.activemq.broker.MutableBrokerFilter.removeConsumer(MutableBrokerFilter.java:121)
> 	at org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:565)
> 	at org.apache.activemq.broker.TransportConnection.processRemoveSession(TransportConnection.java:600)
> 	at org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:705)
> 	at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1000)
> 	at org.apache.activemq.broker.jmx.ManagedTransportConnection.doStop(ManagedTransportConnection.java:74)
> 	at org.apache.activemq.broker.TransportConnection$3.run(TransportConnection.java:925)

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