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

Solr cannot find jar's in Multicore sharedLib directory

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.3
    • 1.3
    • None
    • None

    Description

      I am using the UnicodeNormalizationFilterFactory developed by Robert Haschart and have added the jar to my solr/lib directory. This worked great until i implemented the multicore with the solr.xml file. However now with the multicore feature in place, solr can no longer find the jar containing the unicode filter.

      I set the sharedLib attribute to ./solr/lib, just lib and to /usr/local/solr/lib - all three times I had the same result - it could not find the jar.

      When I copy the lib directory into my core directory (still with the sharedLib dir set to ./solr/lib) everything works.

      Attachments

        Activity

          henrib Henri Biestro added a comment -

          There should be a comment in the log file stating the sharedLib absolute path directory beginning with "loading shared library: ...".
          This may help you diagnose.

          henrib Henri Biestro added a comment - There should be a comment in the log file stating the sharedLib absolute path directory beginning with "loading shared library: ...". This may help you diagnose.

          This works for me w/ a dummy request handler that I put in a jar and put it in my lib dir.

          In my log I see:

          INFO: Adding 'file:..../solr-clean/example/multicore/lib/dummy.jar' to Solr classloader

          Can you share your logs? And your solr.xml configuration?

          gsingers Grant Ingersoll added a comment - This works for me w/ a dummy request handler that I put in a jar and put it in my lib dir. In my log I see: INFO: Adding 'file:..../solr-clean/example/multicore/lib/dummy.jar' to Solr classloader Can you share your logs? And your solr.xml configuration?
          asnagy Andrew Nagy added a comment -

          Sorry for the false alarm - I don't know what I was doing wrong before but its working now.

          asnagy Andrew Nagy added a comment - Sorry for the false alarm - I don't know what I was doing wrong before but its working now.

          People

            Unassigned Unassigned
            asnagy Andrew Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: