You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Chris Wiegand (JIRA)" <ji...@apache.org> on 2008/06/17 07:21:00 UTC

[jira] Created: (AMQ-1803) MirroredQueue cannot be cast to Queue when Purging Mirrored Queue

MirroredQueue cannot be cast to Queue when Purging Mirrored Queue
-----------------------------------------------------------------

                 Key: AMQ-1803
                 URL: https://issues.apache.org/activemq/browse/AMQ-1803
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.1.0
         Environment: Windows Server 2003 R2 fully patched as of 2008-06-13, Sun Java current version as of 2008-06-13. ActiveMQ 5.1.0 as released as of 2008-05-30.
            Reporter: Chris Wiegand
            Priority: Minor


We used MirroredQueues so that we can monitor what's going on using a simple Topic client we wrote. When we click 'Purge' on the queue in the web admin interface, we get a Java exception: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue. We are able to delete the queue, but then our listener classes do not auto-reconnect for up to 5 minutes (our own code for that to work around issues with ActiveMQ.Net bindings). 

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


[jira] Commented: (AMQ-1803) MirroredQueue cannot be cast to Queue when Purging Mirrored Queue

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50181#action_50181 ] 

Jim Gomes commented on AMQ-1803:
--------------------------------

HTTP ERROR: 500

org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue

RequestURI=/admin/purgeDestination.action
Caused by:

java.lang.ClassCastException: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue
	at org.apache.activemq.web.LocalBrokerFacade.purgeQueue(LocalBrokerFacade.java:71)
	at org.apache.activemq.web.controller.PurgeDestination.purgeDestination(PurgeDestination.java:43)
	at org.apache.activemq.web.controller.PurgeDestination.handleRequest(PurgeDestination.java:37)
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)


> MirroredQueue cannot be cast to Queue when Purging Mirrored Queue
> -----------------------------------------------------------------
>
>                 Key: AMQ-1803
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1803
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: Windows Server 2003 R2 fully patched as of 2008-06-13, Sun Java current version as of 2008-06-13. ActiveMQ 5.1.0 as released as of 2008-05-30.
>            Reporter: Chris Wiegand
>            Priority: Minor
>             Fix For: 5.3.0
>
>
> We used MirroredQueues so that we can monitor what's going on using a simple Topic client we wrote. When we click 'Purge' on the queue in the web admin interface, we get a Java exception: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue. We are able to delete the queue, but then our listener classes do not auto-reconnect for up to 5 minutes (our own code for that to work around issues with ActiveMQ.Net bindings). 

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


[jira] Updated: (AMQ-1803) MirroredQueue cannot be cast to Queue when Purging Mirrored Queue

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQ-1803:
---------------------------

             Priority: Major  (was: Minor)
    Affects Version/s: 5.2.0

> MirroredQueue cannot be cast to Queue when Purging Mirrored Queue
> -----------------------------------------------------------------
>
>                 Key: AMQ-1803
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1803
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.2.0
>         Environment: Windows Server 2003 R2 fully patched as of 2008-06-13, Sun Java current version as of 2008-06-13. ActiveMQ 5.1.0 as released as of 2008-05-30.
>            Reporter: Chris Wiegand
>             Fix For: 5.3.0
>
>
> We used MirroredQueues so that we can monitor what's going on using a simple Topic client we wrote. When we click 'Purge' on the queue in the web admin interface, we get a Java exception: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue. We are able to delete the queue, but then our listener classes do not auto-reconnect for up to 5 minutes (our own code for that to work around issues with ActiveMQ.Net bindings). 

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


[jira] Assigned: (AMQ-1803) MirroredQueue cannot be cast to Queue when Purging Mirrored Queue

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned AMQ-1803:
-------------------------------

    Assignee: Rob Davies

> MirroredQueue cannot be cast to Queue when Purging Mirrored Queue
> -----------------------------------------------------------------
>
>                 Key: AMQ-1803
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1803
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.2.0
>         Environment: Windows Server 2003 R2 fully patched as of 2008-06-13, Sun Java current version as of 2008-06-13. ActiveMQ 5.1.0 as released as of 2008-05-30.
>            Reporter: Chris Wiegand
>            Assignee: Rob Davies
>             Fix For: 5.3.0
>
>
> We used MirroredQueues so that we can monitor what's going on using a simple Topic client we wrote. When we click 'Purge' on the queue in the web admin interface, we get a Java exception: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue. We are able to delete the queue, but then our listener classes do not auto-reconnect for up to 5 minutes (our own code for that to work around issues with ActiveMQ.Net bindings). 

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


[jira] Resolved: (AMQ-1803) MirroredQueue cannot be cast to Queue when Purging Mirrored Queue

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1803.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)
                   5.3.0

Fixed by svn revision 812790

> MirroredQueue cannot be cast to Queue when Purging Mirrored Queue
> -----------------------------------------------------------------
>
>                 Key: AMQ-1803
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1803
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.2.0
>         Environment: Windows Server 2003 R2 fully patched as of 2008-06-13, Sun Java current version as of 2008-06-13. ActiveMQ 5.1.0 as released as of 2008-05-30.
>            Reporter: Chris Wiegand
>            Assignee: Rob Davies
>             Fix For: 5.3.0
>
>
> We used MirroredQueues so that we can monitor what's going on using a simple Topic client we wrote. When we click 'Purge' on the queue in the web admin interface, we get a Java exception: org.apache.activemq.broker.region.virtual.MirroredQueue$1 cannot be cast to org.apache.activemq.broker.region.Queue. We are able to delete the queue, but then our listener classes do not auto-reconnect for up to 5 minutes (our own code for that to work around issues with ActiveMQ.Net bindings). 

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