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

bin/solr: Improve java detection and error messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0, 6.0
    • scripts and tools
    • None
    • Linux bigindy5 3.10.0-123.9.2.el7.x86_64 #1 SMP Tue Oct 28 18:05:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    Description

      Java detection needs a bit of an overhaul. One example: When running the shell script, if JAVA_HOME is set, but does not point to a valid java home, Solr will not start, but the error message is unhelpful, especially to users who actually DO have the right java version installed.

      Attachments

        1. SOLR-7024.patch
          1.0 kB
          Shawn Heisey
        2. SOLR-7024.patch
          2 kB
          Shawn Heisey
        3. SOLR-7024.patch
          2 kB
          Shawn Heisey
        4. SOLR-7024.patch
          2 kB
          Shawn Heisey
        5. SOLR-7024.patch
          2 kB
          Shawn Heisey
        6. SOLR-7024.patch
          2 kB
          Shawn Heisey
        7. SOLR-7024.patch
          2 kB
          Shawn Heisey
        8. SOLR-7024.patch
          2 kB
          Shawn Heisey
        9. SOLR-7024.patch
          2 kB
          Shawn Heisey
        10. SOLR-7024.patch
          2 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              elyograg Shawn Heisey
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: