Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 67481 invoked from network); 27 Feb 2007 18:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2007 18:19:10 -0000 Received: (qmail 46760 invoked by uid 500); 27 Feb 2007 18:19:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 46743 invoked by uid 500); 27 Feb 2007 18:19:17 -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 46734 invoked by uid 99); 27 Feb 2007 18:19:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 10:19:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 10:19:06 -0800 Received: by ug-out-1314.google.com with SMTP id m3so1185163ugc for ; Tue, 27 Feb 2007 10:18:45 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VYOePvHKTxIssJMovXApQ7e0Ta+pqlebijzqaLDkqG8KgwbxZUsW1AbWlsya95Zt+d0zNm7AHXA4HznIIPXHSGVT4ZZqTPmtv8/6hlSW2fFBU/n7TzDc5S8FpLRSmfz1fTZEbf6oqbXow3YOZFZRgIKsweR1R2ndF9p/ajBnFLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ul7nwg3nOFgyKjaswI5s1cZvqh1qRh6mXgCYn9FEtWmeBOGTDGzhZ2MWBU4KWAW6LKSYV76cJtAmRcQzdk2swtOrXjztLroypICTjHBmKpn18HDoHYxp8vid034ObKWO8uWItO3MtGEOUFT2aSQXhEzwZe9aOlBBP4QkjLUOJus= Received: by 10.78.204.20 with SMTP id b20mr601558hug.1172600324326; Tue, 27 Feb 2007 10:18:44 -0800 (PST) Received: by 10.78.155.7 with HTTP; Tue, 27 Feb 2007 10:18:44 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2007 18:18:44 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: cant see named connection in jconsole In-Reply-To: <9187987.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9163284.post@talk.nabble.com> <9167116.post@talk.nabble.com> <9187987.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Great. Thanks for letting us know On 2/27/07, Iakov wrote: > > > James.Strachan wrote: > > > > On 2/26/07, Iakov wrote: > >> James.Strachan wrote: > >> > > >> > On 2/26/07, Iakov wrote: > >> >> > >> >> hi, > >> >> > >> >> i am running a client which concurrently uses two connections both are > >> >> named > >> >> (thru createConnection method) both are working, but i only see one of > >> >> them > >> >> as named in JConsole. how come? > >> > > >> > Are you sure you are refreshing the tree in JConsole? Does restarting > >> > JConsole help? > >> > > >> > -- > >> > > >> > James > >> > ------- > >> > http://radio.weblogs.com/0112098/ > >> > > >> > > >> > >> > >> yep, I have other clients that connect and disconnect and i can see the > >> tree > >> updating. I am using two different factories (the connecting threads are > >> completely separate) and create ConnectionFactory via new in c++ api. > >> should > >> i keep one global factory ? > > > > It shouldn't make much difference; a connection is a connection > > however you make it. > > > > So could you summarize the exact circumstances when a connection does > > not show up in JMX? Also are you completely sure that the connection > > you think should be in JMX is definitely still active? (ActiveMQ by > > default will shut down inactive connections). > > > > > > -- > > > > James > > ------- > > http://radio.weblogs.com/0112098/ > > > > > > James, After making sure that every client _exits_ properly (i am running 4 > clients on the same channel) everything works. I think what was hapening was > the following: one of the clients (not the one I was questioning) was not > exiting gracefully - i was basically killing it every time i needed to > restart, so the broker did not know the client was dead. after doing this > kill/restart thingy for a while the _other_ client would not show a name on > connection to the same channel even thought it was showing in the "address" > category. it seems that when a publisher on a channel does not behave the > listeners start acting funny. I am making sure now that every client > observes the protocol so things are working. > > Thank you! > > -- > View this message in context: > http://www.nabble.com/cant-see-named-connection-in-jconsole-tf3294255s2354.html#a9187987 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/