Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 76424 invoked from network); 26 Oct 2010 17:41:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 17:41:07 -0000 Received: (qmail 65784 invoked by uid 500); 26 Oct 2010 17:41:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 65702 invoked by uid 500); 26 Oct 2010 17:41:07 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 65694 invoked by uid 99); 26 Oct 2010 17:41:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 17:41:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 17:41:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9QHehdm019429 for ; Tue, 26 Oct 2010 17:40:43 GMT Message-ID: <2705843.69001288114843030.JavaMail.jira@thor> Date: Tue, 26 Oct 2010 13:40:43 -0400 (EDT) From: "Vadim Katz (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2513) JMX bug - javax.management.InstanceNotFoundException In-Reply-To: <726016258.1259182792715.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62848#action_62848 ] Vadim Katz commented on AMQ-2513: --------------------------------- I am seeing this issue with specified on 5.3.2 broker/client I noticed that the fix has not been applied to 5.3.2 (by looking at the code) Same bug? > JMX bug - javax.management.InstanceNotFoundException > ---------------------------------------------------- > > Key: AMQ-2513 > URL: https://issues.apache.org/activemq/browse/AMQ-2513 > Project: ActiveMQ > Issue Type: Bug > Components: JMX > Affects Versions: 5.3.1 > Reporter: Dariusz Szablinski > Assignee: Dejan Bosanac > Fix For: 5.3.1, 5.4.0 > > Attachments: activemq.log, activemq.xml, AMQ2513Test.java, jconsole.jpg > > > How to reproduce: > 1) start broker > 2) start sending/receiving messages to/from a queue > 3) the queue will show up in MBeans tree > 4) kill the broker (e.g. end process on windows) > 5) stat broker again > 6) you can find your queue in Broker->Queues attribute, but not as a separate node on MBeans tree (see screenshot) > 7) (optional) start sending/receiving messages to/from a queue > 8) open web console. following exception will be thrown: > 2009-11-25 21:47:45,525 | ERROR | /admin/queues.jsp;jsessionid=yjy1i2uuahpk | org.mortbay.log | btpool0-1 > javax.el.ELException: java.lang.reflect.UndeclaredThrowableException > at javax.el.BeanELResolver.getValue(BeanELResolver.java:266) > at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) > at com.sun.el.parser.AstValue.getValue(AstValue.java:138) > at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) > at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984) > at org.apache.jsp.queues_jsp._jspx_meth_c_forEach_0(org.apache.jsp.queues_jsp:141) > at org.apache.jsp.queues_jsp._jspService(org.apache.jsp.queues_jsp:101) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) > 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) > Caused by: java.lang.reflect.UndeclaredThrowableException > at $Proxy4.getName(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at javax.el.BeanELResolver.getValue(BeanELResolver.java:261) > ... 39 more > Caused by: javax.management.InstanceNotFoundException: org.apache.activemq:BrokerName=localhost,Type=Queue,Destination=dee.q > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094) > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662) > at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638) > at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:263) > ... 45 more > I'm using latest 5.3.1-SNAPSHOT -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.