On 11/8/21 10:58 AM, Scott Derrick wrote:
I work on Linux and the server is also Linux. Though I use Mint
and the server is CentOS.
I use Firefox and Chrome on Linux, both have the issue. I just
tried it on a Windoze box with Firefox and edge and saw same issue.
The log with jar loading debug revealed that the dataimport jar is only
loaded once after Solr gets started. It shows a lot of other jars
loading that you're probably not using, but that shouldn't cause
problems with the admin UI. And in the test I did today, all those jars
would have been loaded for me too.
I started a fresh 7.7.3 download (just as-is, not installed), created a
core, and replaced its solrconfig.xml file with yours. Then I copied
db-data-config.xml from the DIH example to the new core's config,
renamed tei-config.xml, just so there would be a DIH config there. I
don't have yours, so I just used what I had. I restarted Solr. This is
on Ubuntu 20, with openjdk 11.0.11.
I didn't have debug turned on for the class loader, but the log does
have this:
2021-11-08 19:50:06.264 INFO (coreLoadExecutor-9-thread-1) [ x:foo]
o.a.s.c.SolrResourceLoader [foo] Added 55 libs to classloader, from
paths: [/home/sheisey/Downloads/solr-7.7.3/contrib/clustering/lib,
/home/sheisey/Downloads/solr-7.7.3/contrib/extraction/lib,
/home/sheisey/Downloads/solr-7.7.3/contrib/langid/lib,
/home/sheisey/Downloads/solr-7.7.3/dist]
I then started Firefox and on http://localhost:8983 was able to go to
the dataimport tab and click execute without errors. Firefox on the
Linux machine is version 94.0. Chrome on Linux also worked. Chrome is
"Version 95.0.4638.69 (Official Build) (64-bit)".
The only thing I can think of that might explain this is if the Solr
install got broken somehow. Files missing or corrupt, or jars copied
into places they shouldn't be. Did you use the service installer
script, or just unpack the Solr download and start it more or less
manually? Did you use the .tgz or .zip download? The tgz is better for
Linux -- text files in the zip download use Windows line endings. Java
probably doesn't really care about line endings, but I hate tempting
fate. For Java, openjdk tends to be the best option, or Oracle Java if
you can comply with their license requirements. Java 8 is required for
all recent Solr releases. As noted, I am using Java 11.
Thanks,
Shawn