On 1/31/2013 3:21 PM, Michael Della Bitta wrote:
I do notice that it seems like the version of Jetty that ships with Solr isn't the preferred one according to the wiki, so that would be an extra dependency for a config management system like Chef.
Near as I can tell, the versions of jetty that shipped with 4.0 (8.1.2) and 4.1 (8.1.7) are unmodified. The config is somewhat specialized, but Jetty itself is not changed. I upgraded my 4.1-SNAPSHOT install to 8.1.7 before the committers did without any problems.
The Jetty 6 versions included with 1.x and 3.x releases were patched for one or more bugs - the upstream package from mortbay wouldn't be the right thing to use.
I have a RHEL/CentOS-friendly jetty init script with config options that can be overridden by a file in /etc/sysconfig. I could probably also come up with one for Debian (sysvinit). The newest Fedora releases use systemd, but systemd is backward compatible with RHEL/CentOS init scripts. Outside of these distributions, I know very little. Recent Ubuntu releases use upstart, about which I am completely clueless.
If there's interest, I can make my init script more generic, make one for debian, and try to come up with an installation script to go with it. If someone knows upstart, they can use my work as a base.
Thanks, Shawn