You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org> on 2014/01/30 10:36:13 UTC
[jira] [Commented] (SOLR-5675) cloud-scripts/zkcli.bat: quote
option -Dlog4j...
[ https://issues.apache.org/jira/browse/SOLR-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886444#comment-13886444 ]
Stefan Matheis (steffkes) commented on SOLR-5675:
-------------------------------------------------
Thanks for reporting this Günter!
Just to make sure, i get it right .. you suggest quoting the whole thing, instead of the arguments value only? I'd expect something like
{{-Dlog4j.configuration="file:%SDIR%\log4j.properties"}} instead
{{"-Dlog4j.configuration=file:%SDIR%\log4j.properties"}}
If you are sure, that quoting the whole argument does the trick .. we can go ahead with that :)
> cloud-scripts/zkcli.bat: quote option -Dlog4j...
> -------------------------------------------------
>
> Key: SOLR-5675
> URL: https://issues.apache.org/jira/browse/SOLR-5675
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 4.6
> Environment: Windows 7 64 bit
> Reporter: Günther Ruck
> Priority: Minor
>
> In Skript zkcli.bat this java command line is build:
> "%JVM%" -Dlog4j.configuration=file:%SDIR%\log4j.properties
> The command failes if %SDIR% contains spaces ("C:\Program Files\...").
> Quoting the hole option "-Dlog4j.configuration=file:%SDIR%\log4j.properties" solved the isssue.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org