[
https://issues.apache.org/jira/browse/SOLR-9046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260870#comment-15260870
]
Uwe Schindler edited comment on SOLR-9046 at 4/27/16 8:28 PM:
--------------------------------------------------------------
OK status:
This works correct for starting up, but fails on stopping with Solr bound to
IPv6 - it always tells you that it cannot find a process - I had to kill Solr
on my own. The problem is the regular expression / find pattern. I'll try to
fix it (first understand what Bram's changes around there mean).
Quick test is:
{noformat}
set SOLR_JETTY_HOST=[::1]
{noformat}
The Server starts up correctly and can be accessed with curl and web browser.
was (Author: thetaphi):
OK status:
This works correct for starting up, but fails on stopping with Solr bound to
IPv6 - it always tells you that it cannot find a process - I had to kill Solr
on my own. The problem is the regular expression / find pattern. I'll try to
fix it (first understand what Bram's changes around there mean).
Quick test is:
{noformat}
set SOLR_JETTY_HOST=[::1]
{noformat}
> solr.cmd wrongly assumes Jetty will always listen on 0.0.0.0
> ------------------------------------------------------------
>
> Key: SOLR-9046
> URL: https://issues.apache.org/jira/browse/SOLR-9046
> Project: Solr
> Issue Type: Bug
> Components: Server
> Affects Versions: 5.5
> Environment: Windows
> Reporter: Bram Van Dam
> Assignee: Timothy Potter
> Fix For: 5.5.1
>
> Attachments: SOLR-9045.patch
>
>
> The Windows solr.cmd script makes the (incorrect) assumption that Solr will
> always be listening on 0.0.0.0 (all interfaces). When you change the interface
> address, say to 127.0.0.1, then the status and stop commands will fail.
> This patch adds a property in solr.in.cmd, which is passed to SOLR_OPTS as
> -Djetty.host, and replaces the instances of 0.0.0.0 in solr.cmd.
> The patch includes some changes in the netstat logic used in solr.cmd to find
> the correct Solr process(es).
> Tested on Solr 5.5 on Windows 7 and 10.
> Note: Untested on Solr 6. Currently using Solr 5.5
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]