Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79BD1990F for ; Sat, 7 Jan 2012 19:26:03 +0000 (UTC) Received: (qmail 65094 invoked by uid 500); 7 Jan 2012 19:26:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 65035 invoked by uid 500); 7 Jan 2012 19:26:02 -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 65027 invoked by uid 99); 7 Jan 2012 19:26:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2012 19:26:02 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2012 19:26:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 241DD13D069 for ; Sat, 7 Jan 2012 19:25:39 +0000 (UTC) Date: Sat, 7 Jan 2012 19:25:39 +0000 (UTC) From: "Timothy Bish (Closed) (JIRA)" To: dev@activemq.apache.org Message-ID: <875500304.18979.1325964339149.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <708348588.15163.1325866840168.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-3655) No information of destinations is present on web console or jconsole even my activemq_msgs, have lots of destinations when broker starts up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-3655. ----------------------------- Resolution: Fixed Fixed by AMQ-3526 > No information of destinations is present on web console or jconsole even my activemq_msgs, have lots of destinations when broker starts up > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-3655 > URL: https://issues.apache.org/jira/browse/AMQ-3655 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 5.5.0 > Reporter: SuoNayi > Labels: jdbcstorage > Fix For: 5.6.0 > > > I have just noted that there is no information about existing destinations on web console or jconsole after my broker starts up.These destinations exist on my message table activemq_msgs and they are present again when some producers or consumers are active. > I'm sure this works well on 5.2 because I had used this to inspect my destinations before 2 years ago. > I also check the source code of class Statements and find that the query statement of 5.5 is different from the old one. > The statement of 5.5 likes this: > findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullAckTableName(); > while 5.2 is the following: > findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullMessageTableName(); > In my option,JDBCAdapter should fetch all destinations from the message table,not ack table. > Is it a mistake or what's the reason about this changing? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira