You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2014/12/12 18:07:48 UTC
svn commit: r1644979 - in /lucene/dev/branches/branch_5x/solr: CHANGES.txt
bin/solr.in.cmd bin/solr.in.sh
Author: thelabdude
Date: Fri Dec 12 17:07:47 2014
New Revision: 1644979
URL: http://svn.apache.org/r1644979
Log:
SOLR-6843: JMX RMI connector should be disabled by default but can be activated by setting ENABLE_REMOTE_JMX_OPTS to true in solr.in.(sh|cmd).
Modified:
lucene/dev/branches/branch_5x/solr/CHANGES.txt
lucene/dev/branches/branch_5x/solr/bin/solr.in.cmd
lucene/dev/branches/branch_5x/solr/bin/solr.in.sh
Modified: lucene/dev/branches/branch_5x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/CHANGES.txt?rev=1644979&r1=1644978&r2=1644979&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_5x/solr/CHANGES.txt Fri Dec 12 17:07:47 2014
@@ -442,6 +442,9 @@ Other Changes
the example directory instead of server/solr. (Alexandre Rafalovitch, Anshum Gupta, hossman,
Timothy Potter)
+* SOLR-6843: JMX RMI connector should be disabled by default but can be activated by
+ setting ENABLE_REMOTE_JMX_OPTS to true in solr.in.(sh|cmd). (Timothy Potter)
+
================== 4.10.3 ==================
Bug Fixes
Modified: lucene/dev/branches/branch_5x/solr/bin/solr.in.cmd
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/bin/solr.in.cmd?rev=1644979&r1=1644978&r2=1644979&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/bin/solr.in.cmd (original)
+++ lucene/dev/branches/branch_5x/solr/bin/solr.in.cmd Fri Dec 12 17:07:47 2014
@@ -58,10 +58,10 @@ REM set SOLR_HOST=192.168.1.1
REM By default the start script uses UTC; override the timezone if needed
REM set SOLR_TIMEZONE=UTC
-REM By default the start script enables some RMI related parameters to allow attaching
-REM JMX savvy tools like VisualVM remotely, set to "false" to disable that behavior
-REM (recommended in production environments)
-set ENABLE_REMOTE_JMX_OPTS=true
+REM Set to true to activate the JMX RMI connector to allow remote JMX client applications
+REM to monitor the JVM hosting Solr; set to "false" to disable that behavior
+REM (false is recommended in production environments)
+set ENABLE_REMOTE_JMX_OPTS=false
REM The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here
REM set RMI_PORT=18983
Modified: lucene/dev/branches/branch_5x/solr/bin/solr.in.sh
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/bin/solr.in.sh?rev=1644979&r1=1644978&r2=1644979&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/bin/solr.in.sh (original)
+++ lucene/dev/branches/branch_5x/solr/bin/solr.in.sh Fri Dec 12 17:07:47 2014
@@ -56,10 +56,10 @@ GC_TUNE="-XX:NewRatio=3 \
# By default the start script uses UTC; override the timezone if needed
#SOLR_TIMEZONE="UTC"
-# By default the start script enables some RMI related parameters to allow attaching
-# JMX savvy tools like VisualVM remotely, set to "false" to disable that behavior
-# (recommended in production environments)
-ENABLE_REMOTE_JMX_OPTS="true"
+# Set to true to activate the JMX RMI connector to allow remote JMX client applications
+# to monitor the JVM hosting Solr; set to "false" to disable that behavior
+# (false is recommended in production environments)
+ENABLE_REMOTE_JMX_OPTS="false"
# The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here
# RMI_PORT=18983