Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5675

cloud-scripts/zkcli.bat: quote option -Dlog4j...

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7, 6.0
    • Component/s: scripts and tools
    • Labels:
      None
    • Environment:

      Windows 7 64 bit

      Description

      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.

        Attachments

        1. SOLR-5675.patch
          1 kB
          Stefan Matheis (steffkes)

          Activity

            People

            • Assignee:
              steffkes Stefan Matheis (steffkes)
              Reporter:
              grumi Günther Ruck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: