[ 
https://issues.apache.org/jira/browse/SOLR-12351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-12351:
-------------------------------
    Priority: Major  (was: Blocker)

> Additional args with spaces prevent startup
> -------------------------------------------
>
>                 Key: SOLR-12351
>                 URL: https://issues.apache.org/jira/browse/SOLR-12351
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: 6.6.3
>         Environment: Windows 10
>            Reporter: Jose Ross
>            Priority: Major
>
> Adding a system property with a white spaces results in an startup error:
> {code:java}
> VAR_WITH_SPACES=some value
> -Dmy.custom.prop="%VAR_WITH_SPACES%"{code}
> {noformat}
> Error: Could not find or load main class value{noformat}
> It looks like the quotes are removed and this prevents the server from 
> starting.
> Also tried using *SOLR_ADDL_ARGS* but then the script crashes with this 
> message:
> {code:java}
> SET SOLR_ADDL_ARGS=-Dmy.custom.prop="%VAR_WITH_SPACES%"{code}
> {noformat}
> value""=="" was unexpected at this time.{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to