Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 89904 invoked from network); 9 Oct 2007 12:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 12:48:19 -0000 Received: (qmail 7717 invoked by uid 500); 9 Oct 2007 12:48:06 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 7694 invoked by uid 500); 9 Oct 2007 12:48:06 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 7681 invoked by uid 99); 9 Oct 2007 12:48:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 05:48:06 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 12:48:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IfEV1-0001ak-17 for dev@mina.apache.org; Tue, 09 Oct 2007 05:47:47 -0700 Message-ID: <13114900.post@talk.nabble.com> Date: Tue, 9 Oct 2007 05:47:47 -0700 (PDT) From: Martyn Thompson To: dev@mina.apache.org Subject: Re: Mina with Spring and JMX In-Reply-To: <470B68DD.3050103@trillian.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: thompson_martyn@hotmail.com References: <13019309.post@talk.nabble.com> <470B68DD.3050103@trillian.se> X-Virus-Checked: Checked by ClamAV on apache.org What happens? Nothing. I was expecting the bean "Port81JMX" to be added to the MBeanServer and viewable in JConsole, but this does not the case I've created a very basic test example (attached) that sets up the server to listen on port 81. To use, start the Server class and then telnet to port 81. Anything typed in the console will be echoed back. This is all configured in Spring. All I need to see is the MBeans that are supplied by default with Mina by configuring them with Spring. HTH and thanks http://www.nabble.com/file/p13114900/MinaJmxExample.zip MinaJmxExample.zip Niklas Therning wrote: > > Martyn Thompson wrote: >> Hi, >> >> I've only been using MINA for 1 day and had great success in getting it >> working with the Spring Framework, rewritting an app within 3 days which >> is >> great. I've been able to get the JMX working as per the example and hard >> coding but my preference is to use Spring but just can't seem to get the >> MINA JMX beans registered as part of the Spring config. >> >> Could someone give the config snippet I've attached and see where I am >> going >> wrong. I've search the forums but can't find an answer >> >> Thanks in advance for all and any help. >> >> Martyn >> >> http://www.nabble.com/file/p13019309/MINA_Spring_JMX_conf_snippet.txt >> MINA_Spring_JMX_conf_snippet.txt >> > Well, what happens? Do you get an exception of some kind? Could you > provide us with your code as well? > > /Niklas > > > -- View this message in context: http://www.nabble.com/Mina-with-Spring-and-JMX-tf4561940s16868.html#a13114900 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.