I've been running Solr successfully until this morning, when I stopped
it to pick up a change in my schema, and now it won't start up again.
I've whittled the problem down to this:
------------------------------------------------------------------------
# cd /home/paul/proj/blacklight/jetty
# java -jar start.jar -Djetty.port=8983 -Dsolr.solr.home=$PWD/solr
WARNING: System properties and/or JVM args set. Consider using --dry-run or
--exec
java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:440)
at org.eclipse.jetty.start.Main.start(Main.java:615)
at org.eclipse.jetty.start.Main.main(Main.java:96)
ClassNotFound: org.eclipse.jetty.xml.XmlConfiguration
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
# readlink -e $(which java)
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
# uname -srvmpio
Linux 3.16.0-57-generic #77~14.04.1-Ubuntu SMP Thu Dec 17 23:20:00 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
# env | fgrep JAVA
[no output]
------------------------------------------------------------------------
I only have one JVM installed -- openjdk-8-jre-headless. Judging from
the file timestamps within /usr/lib/jvm, the package hasn't been updated
since last August at the latest; the server has only been up for 62
days.
Just in case it matters, I was running Solr successfully under
Blacklight's jetty wrapper, and the command line above is what it uses
(or claims to use).
Does anyone have any idea what might be causing this problem?
Thanks in advance,
Paul.
--
Paul Hoffman <[email protected]>
Systems Librarian
Fenway Libraries Online
c/o Wentworth Institute of Technology
550 Huntington Ave.
Boston, MA 02115
(617) 442-2384 (FLO main number)