Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an (Ubuntu 10.4) server running Apache2 web server. So far so good, I have a few extensions setup just the way I hoped for, I'm happy.

But now I'd like to try out Apache Solr because I'd rather work out the quirks to setup a nice robust environment while we only have a few hundred thousand records, it's easier than when we have a few billions.

Given it seems you need more than just Apache2 and the JDK to run it (right ?), I have to choose between Tomcat and Jetty, but I never used either of them (well I used Tomcat 10 years ago, but it's been so long, I forgot everything about it).

My initial choice was Tomcat because that's what most tutorials use and it has the most documentation about running it in parallel with Apache2; however Jetty seems to be an interesting alternative and it's even used by the official tutorial.

So what would be better to use with Apache2 and Solr, Tomcat or Jetty ?

share|improve this question
up vote 2 down vote accepted

tomcat is older and very stable with solr in combination.

jetty is newer and is a bit more complicated to administer. jetty can be configured to run in many ways(embedded, diy by importing the class etc) as opposite to tomcat which has all predefined (logs, scripts, libraries etc).

it all depends on your confidence level in the end. i have tomcat and solr, but running as well jetty with other apps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.