Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 055522009FB for ; Fri, 6 May 2016 17:28:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 040CB1608F8; Fri, 6 May 2016 15:28:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71FC3160A0D for ; Fri, 6 May 2016 17:28:14 +0200 (CEST) Received: (qmail 50859 invoked by uid 500); 6 May 2016 15:28:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 50694 invoked by uid 99); 6 May 2016 15:28:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 15:28:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EC7A92C14F9 for ; Fri, 6 May 2016 15:28:12 +0000 (UTC) Date: Fri, 6 May 2016 15:28:12 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11725) Check for unnecessary JMX port setting in env vars at startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 May 2016 15:28:15 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-11725: ------------------------------------------ Labels: lhf (was: ) > Check for unnecessary JMX port setting in env vars at startup > ------------------------------------------------------------- > > Key: CASSANDRA-11725 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11725 > Project: Cassandra > Issue Type: Improvement > Components: Lifecycle > Reporter: Sam Tunnicliffe > Priority: Minor > Labels: lhf > Fix For: 3.x > > > Since CASSANDRA-10091, C* expects to always be in control of initializing its JMX connector server. However, if {{com.sun.management.jmxremote.port}} is set when the JVM is started, the bootstrap agent takes over and sets up the server before any C* code runs. Because C* is then unable to bind the server it creates to the specified port, startup is halted and the root cause is somewhat unclear. > We should add a check at startup so a more informative message can be provided. This would test for the presence of the system property which would differentiate from the case where some other process is already bound to the port. -- This message was sent by Atlassian JIRA (v6.3.4#6332)