[
https://issues.apache.org/jira/browse/SOLR-6928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Potter updated SOLR-6928:
---------------------------------
Attachment: SOLR-6928.patch
Here's a patch that builds upon Jan's, but required checking for PID==0 because
it was still finding something that wasn't listening:
Proto Local Address Foreign Address State PID
TCP 127.0.0.1:49204 127.0.0.1:8983 TIME_WAIT 0
According to the docs, the PID 0 is for a pseudo-idle process so the script
could ignore those and keep looping to find the actual listening process.
This patch works well on English Windows ... I don't have access to a German
Windows box, can someone test please?
> solr.cmd stop works only in english
> -----------------------------------
>
> Key: SOLR-6928
> URL: https://issues.apache.org/jira/browse/SOLR-6928
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 4.10.3
> Environment: german windows 7
> Reporter: john.work
> Assignee: Timothy Potter
> Priority: Minor
> Attachments: SOLR-6928.patch
>
>
> in solr.cmd the stop doesnt work while executing 'netstat -nao ^| find /i
> "listening" ^| find ":%SOLR_PORT%"' so "listening" is not found.
> e.g. in german cmd.exe the netstat -nao prints the following output:
> {noformat}
> Proto Lokale Adresse Remoteadresse Status PID
> TCP 0.0.0.0:80 0.0.0.0:0 ABHÖREN 4
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]