Solr
  1. Solr
  2. SOLR-4852

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

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.4
    • Fix Version/s: 4.9, Trunk
    • 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.

      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

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Shawn Heisey
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:

                Development