lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (SOLR-9046) solr.cmd wrongly assumes Jetty will always listen on
Date Wed, 27 Apr 2016 21:31:12 GMT


Uwe Schindler commented on SOLR-9046:

Timothy, you wrote the original code - I think? Does it look correct for you? The "FOR /F"
pattern with implicit variable names for tokens is just horrible :-) Whoever invented this
syntax should be shot by the Unicode Policeman. :-)

> solr.cmd wrongly assumes Jetty will always listen on
> ------------------------------------------------------------
>                 Key: SOLR-9046
>                 URL:
>             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, SOLR-9046.patch, SOLR-9046.patch, SOLR-9046.patch
> The Windows solr.cmd script makes the (incorrect) assumption that Solr will always be
listening on (all interfaces). When you change the interface
> address, say to, then the status and stop commands will fail.
> This patch adds a property in, which is passed to SOLR_OPTS as,
and replaces the instances of 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message