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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6
    • 4.7, 6.0
    • scripts and tools
    • None
    • 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

        Activity

          People

            steffkes Stefan Matheis
            grumi G√ľnther Ruck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: