Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 46575 invoked from network); 25 Aug 2006 15:32:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 15:32:35 -0000 Received: (qmail 32488 invoked by uid 500); 25 Aug 2006 15:32:34 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 32468 invoked by uid 500); 25 Aug 2006 15:32:34 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 32459 invoked by uid 99); 25 Aug 2006 15:32:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 08:32:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 08:32:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44FB87141F0 for ; Fri, 25 Aug 2006 15:29:23 +0000 (GMT) Message-ID: <5743702.1156519763280.JavaMail.jira@brutus> Date: Fri, 25 Aug 2006 08:29:23 -0700 (PDT) From: "james strachan (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Resolved: (AMQ-892) Allow the JMX RMI server port to be hard set In-Reply-To: <3193617.1156234103103.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-892?page=all ] james strachan resolved AMQ-892. -------------------------------- Fix Version/s: 4.1 Resolution: Fixed Patch applied John thanks! I've been thinking we should encourage folks to use the standard JMX configuration system properties and an optional security manager and policy file as opposed to the xbean.xml stuff - but its good to keep that working fine for folks who want to use it. > Allow the JMX RMI server port to be hard set > -------------------------------------------- > > Key: AMQ-892 > URL: https://issues.apache.org/activemq/browse/AMQ-892 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 4.0.2 > Reporter: John Heitmann > Priority: Minor > Fix For: 4.1 > > Attachments: jmxPort.patch > > > When debugging a broker over the firewall with JMX it's often necessary to use ssh tunneling. JMX uses 2 ports. The RMI registry port is what is typically configured, but JMX also runs an RMI server on a different port-- one that's typically chosen randomly. When you're ssh tunneling you need to know what ports to tunnel to a priori so this is no good. > This patch adds a setting to allow the RMI server port to be set in addition to the registry port. This is what it looks like in xml: > > Also I snuck in a one-liner change that will create the connector if the user configured jmx. This seems like the right thing to do, but my JMX experience is pretty limited so it could break in something like Tomcat. Please take a close look at that line before applying. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira