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

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

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.4
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      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-test-failhard.txt
          384 kB
          Shawn Heisey
        2. SOLR-4852.patch
          1 kB
          Shawn Heisey
        3. SOLR-4852.patch
          2 kB
          Shawn Heisey

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elyograg Shawn Heisey
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: