You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jose Ross (JIRA)" <ji...@apache.org> on 2018/05/14 16:48:00 UTC

[jira] [Created] (SOLR-12351) Additional args with spaces prevent startup

Jose Ross created SOLR-12351:
--------------------------------

             Summary: 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


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:
{noformat}
value""=="" was unexpected at this time.{noformat}



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

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