The servlet container we bundle for the example server, Jetty, is turning out to have a number of bugs (or maybe just a few that multiple people have all hit) in the new 6.0 line, and the 5.1 "stable" line.
Nice things about Jetty vs Tomcat: - very easy to start "java -jar start.jar", and more foolproof than Tomcat since we rely on $cwd for the demo to find the solr home "./solr" - fewer files, esp in bin... easier to understand what is needed and what is not - log messages appear right on console, so errors are immediately apparent. You don't have to teach users how to go look through multiple log files, and you don't have to teach them about shutting down the server (just the normal CTRL-C) Nice things about Tomcat 5.5 vs Jetty 5.1: - more stable! - doesn't require a JDK... can run with a JRE (Jetty6 could as well since it uses JDT) - biggest user community, better docs, better support - slightly faster (in my micro benchmark sending deletes to Solr) So, I'm obviously leaning toward Tomcat, esp if we can make it easy enough for new users. Maybe make our own start script that calls Tomcats (blech) and maybe tails a log file for better error feedback??? Maybe it's just a matter of education/documentation, esp in the tutorial? No flame wars please ;-) (for people who don't follow the lucene dev list, this is a reference to the current java5 discussion over there) Thoughts? -Yonik
