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

If sharedLib is set to lib, classloader fails to find classes in lib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 4.4
    • 4.9, 6.0
    • None
    • None

    Description

      I have some jars in the lib directory under solr.solr.home - DIH, ICU, and MySQL. If I set sharedLib in solr.xml to "lib" then the ICUTokenizer class is not found, even though the jar is loaded (twice) during Solr startup. If I set sharedLib to another location that doesn't exist, the jars are only loaded once and there is no problem.

      I'm using the old-style solr.xml on branch_4x revision 1485566.

      Attachments

        1. SOLR-4852.patch
          2 kB
          Shawn Heisey
        2. SOLR-4852.patch
          1 kB
          Shawn Heisey
        3. SOLR-4852-test-failhard.txt
          384 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elyograg Shawn Heisey
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: