Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 60502 invoked from network); 14 Oct 2010 12:58:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 12:58:05 -0000 Received: (qmail 43283 invoked by uid 500); 14 Oct 2010 12:58:05 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 42949 invoked by uid 500); 14 Oct 2010 12:58: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 42506 invoked by uid 99); 14 Oct 2010 12:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 12:58:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 12:58:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9ECveEb008209 for ; Thu, 14 Oct 2010 12:57:40 GMT Message-ID: <13842756.56861287061060381.JavaMail.jira@thor> Date: Thu, 14 Oct 2010 08:57:40 -0400 (EDT) From: "Adrian Trenaman (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2976) activemq stop can fail if the broker is not using the default JMX port 1099 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c activemq stop can fail if the broker is not using the default JMX port 1099 --------------------------------------------------------------------------- Key: AMQ-2976 URL: https://issues.apache.org/activemq/browse/AMQ-2976 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 5.4.0 Reporter: Adrian Trenaman If I run ActiveMQ on my local Linux box using the Sun JDK, I note that when I stop the broker with 'activemq stop' then it stops OK - it uses the stored PID from the pidfile to connect to the broker (presumably using JMX!) and do a graceful shutdown. {code} Connecting to pid: 13175 Stopping broker: amq01 {code} However, I have a colleague using ActiveMQ with the IBM JDK, When he does 'activemq stop', it doesn't attempt to use the PID. Instead, it uses the default JMX RMI connector string. {code} Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi {code} Problem is that this broker is listening for JMX on a different port number! So, the attempt to stop the broker fails with a java.rmi.ConnectionException. Just wondering if anyone has seen anything like this? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.