You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jakob Furrer (JIRA)" <ji...@apache.org> on 2017/11/07 00:19:00 UTC
[jira] [Updated] (SOLR-11611) Starting Solr using solr.cmd fails in
Windows, when the path contains a parenthesis
[ https://issues.apache.org/jira/browse/SOLR-11611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Furrer updated SOLR-11611:
--------------------------------
Description:
Starting Solr using solr.cli fails in Windows, when the path contains spaces.
Use the following example to reproduce the error:
{quote}C:\>c:
C:\>cd "C:\Program Files (x86)\Company Name\ProductName Solr\bin"
C:\Program Files (x86)\Company Name\ProductName Solr\bin>dir
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 8207-3B8B
Verzeichnis von C:\Program Files (x86)\Company Name\ProductName Solr\bin
06.11.2017 15:52 <DIR> .
06.11.2017 15:52 <DIR> ..
06.11.2017 15:39 <DIR> init.d
03.11.2017 17:32 8 209 post
03.11.2017 17:32 75 963 solr
06.11.2017 14:24 69 407 solr.cmd
3 Datei(en), 153 579 Bytes
3 Verzeichnis(se), 51 191 619 584 Bytes frei
C:\Program Files (x86)\Company Name\ProductName Solr\bin>solr.cmd start
*"\Company" kann syntaktisch an dieser Stelle nicht verarbeitet werden.*
C:\Program Files (x86)\Company Name\ProductName Solr\bin>{quote}
was:
Starting Solr using solr.cli fails in Windows, when the path contains spaces.
Use the following example to reproduce the error:
{{C:\>c:
C:\>cd "C:\Program Files (x86)\Company Name\ProductName Solr\bin"
C:\Program Files (x86)\Company Name\ProductName Solr\bin>dir
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 8207-3B8B
Verzeichnis von C:\Program Files (x86)\Company Name\ProductName Solr\bin
06.11.2017 15:52 <DIR> .
06.11.2017 15:52 <DIR> ..
06.11.2017 15:39 <DIR> init.d
03.11.2017 17:32 8 209 post
03.11.2017 17:32 75 963 solr
06.11.2017 14:24 69 407 solr.cmd
3 Datei(en), 153 579 Bytes
3 Verzeichnis(se), 51 191 619 584 Bytes frei
C:\Program Files (x86)\Company Name\ProductName Solr\bin>solr.cmd start
*"\Company" kann syntaktisch an dieser Stelle nicht verarbeitet werden.*
C:\Program Files (x86)\Company Name\ProductName Solr\bin>}}
Summary: Starting Solr using solr.cmd fails in Windows, when the path contains a parenthesis (was: Starting Solr using solr.cli fails in Windows, when the path contains spaces.)
> Starting Solr using solr.cmd fails in Windows, when the path contains a parenthesis
> -----------------------------------------------------------------------------------
>
> Key: SOLR-11611
> URL: https://issues.apache.org/jira/browse/SOLR-11611
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCLI
> Affects Versions: 7.1
> Environment: Microsoft Windows [Version 10.0.15063]
> java version "1.8.0_144"
> Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
> Reporter: Jakob Furrer
> Fix For: 7.2
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Starting Solr using solr.cli fails in Windows, when the path contains spaces.
> Use the following example to reproduce the error:
> {quote}C:\>c:
> C:\>cd "C:\Program Files (x86)\Company Name\ProductName Solr\bin"
> C:\Program Files (x86)\Company Name\ProductName Solr\bin>dir
> Volume in Laufwerk C: hat keine Bezeichnung.
> Volumeseriennummer: 8207-3B8B
> Verzeichnis von C:\Program Files (x86)\Company Name\ProductName Solr\bin
> 06.11.2017 15:52 <DIR> .
> 06.11.2017 15:52 <DIR> ..
> 06.11.2017 15:39 <DIR> init.d
> 03.11.2017 17:32 8 209 post
> 03.11.2017 17:32 75 963 solr
> 06.11.2017 14:24 69 407 solr.cmd
> 3 Datei(en), 153 579 Bytes
> 3 Verzeichnis(se), 51 191 619 584 Bytes frei
> C:\Program Files (x86)\Company Name\ProductName Solr\bin>solr.cmd start
> *"\Company" kann syntaktisch an dieser Stelle nicht verarbeitet werden.*
> C:\Program Files (x86)\Company Name\ProductName Solr\bin>{quote}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org