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).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy Potter 2014-12-12 17:07:06 +00:00
parent b1083b2a32
commit 3a5438ec1f
3 changed files with 11 additions and 8 deletions

View File

@ -484,6 +484,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

View File

@ -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

View File

@ -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