SOLR-7293: Fix bug that Solr server does not listen on IPv6 interfaces by default

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2015-03-25 18:29:04 +00:00
parent a14e40d75d
commit c3bbff6ee6
3 changed files with 5 additions and 2 deletions

View File

@ -306,6 +306,9 @@ Bug Fixes
* SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs.
(Stephan Lagraulet via shalin)
* SOLR-7293: Fix bug that Solr server does not listen on IPv6 interfaces by default.
(Uwe Schindler, Sebastian Pesman)
Optimizations
----------------------

View File

@ -1335,7 +1335,7 @@ $SOLR_HOST_ARG -Djetty.port=$SOLR_PORT \
-Dsolr.solr.home=$SOLR_HOME \
-Dsolr.install.dir=$SOLR_TIP \
-Duser.timezone=$SOLR_TIMEZONE \
-Djava.net.preferIPv4Stack=true $LOG4J_CONFIG \
$LOG4J_CONFIG \
$SOLR_OPTS"
if [ "$SOLR_MODE" == "solrcloud" ]; then

View File

@ -849,7 +849,7 @@ IF "%verbose%"=="1" (
@echo.
)
set START_OPTS=-Duser.timezone=%SOLR_TIMEZONE% -Djava.net.preferIPv4Stack=true
set START_OPTS=-Duser.timezone=%SOLR_TIMEZONE%
set START_OPTS=%START_OPTS% !GC_TUNE! %GC_LOG_OPTS%
IF NOT "!CLOUD_MODE_OPTS!"=="" set "START_OPTS=%START_OPTS% !CLOUD_MODE_OPTS!"
IF NOT "%REMOTE_JMX_OPTS%"=="" set "START_OPTS=%START_OPTS% %REMOTE_JMX_OPTS%"