Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5424BC24 for ; Fri, 6 Jan 2012 04:51:32 +0000 (UTC) Received: (qmail 52547 invoked by uid 500); 6 Jan 2012 04:51:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 51952 invoked by uid 500); 6 Jan 2012 04:51:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 51944 invoked by uid 99); 6 Jan 2012 04:51:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 04:51:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of suonayi2006@163.com designates 220.181.13.26 as permitted sender) Received: from [220.181.13.26] (HELO m13-26.163.com) (220.181.13.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 04:51:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Message-ID:Subject: MIME-Version:Content-Type; bh=4B6EzjDGe92ZikYcb4rChagalfSMXuv5qO kws3wc9oE=; b=pBRbxokm4fxmHncM9K6BttxjV4ekdnh5b2pqjJb9zeP7E3uT79 6s1a8mSBqjZFm5pqTkkO30pjm+nGOXxzExLEW0AZdwXvO7mHEdd9twO8cQbKuo+b KSWq7u53+pXDzaQLitcnpkUyRwg4QOgVWA/Zz/ljRiMFQv3vh2niT50CM= Received: from suonayi2006 ( [203.119.80.8] ) by ajax-webmail-wmsvr26 (Coremail) ; Fri, 6 Jan 2012 12:50:47 +0800 (CST) Date: Fri, 6 Jan 2012 12:50:47 +0800 (CST) From: SuoNayi To: Amq Message-ID: <26fb70dc.1246e.134b15ad773.Coremail.suonayi2006@163.com> Subject: No destinations are present on web console or jconsole when broker starts up MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_295941_557780835.1325825447795" X-Originating-IP: [203.119.80.8] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 111202(16086.4213.4207) Copyright (c) 2002-2012 www.mailtech.cn 163com X-CM-CTRLDATA: 912gZWZvb3Rlcl9odG09MTU0MDo4MQ== X-CM-TRANSID: GsGowGBJ8EGofQZPaoIbAA--.15405W X-CM-SenderInfo: xvxr0td1lsiiqw6rljoofrz/1tbiEBwtGkiNdn7lNQABsn X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_295941_557780835.1325825447795 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi all, I have just noted that for AMQ 5.5 no desionations are present on web console or jconsole expect for an active producer or consumer are present at first. The storage of broker is based on jdbc, oracle in fact, I find the sql sentence used to fetch all desionations from the db differs from the old one of AMQ 5.2. Here is the statement of AMQ 5.5: public String getFindAllDestinationsStatement() { if (findAllDestinationsStatement == null) { findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullAckTableName(); } return findAllDestinationsStatement; } while for AMQ 5.2, it is the following: public String getFindAllDestinationsStatement() { if (findAllDestinationsStatement == null) { findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullMessageTableName(); } return findAllDestinationsStatement; } In my option, JDBCAdapter should fetch all informations of desionations from the table named activemq_msgs, not activemq_acks. Or there are some changes about this difference? Thanks. SuoNayi ------=_Part_295941_557780835.1325825447795--