I just checked in an implementation that allows for multiple Solr webapps. It currently works for Tomcat (I tried 5.5.17), but I have no idea how to get it to work with Jetty...
I used JNDI and Tomcat context fragments.... Just put a context fragment file under $CATALINA_HOME/conf/Catalina/localhost for each solr webapp you want to run: [EMAIL PROTECTED] /cygdrive/f/opt/tomcat55/conf/Catalina/localhost $ cat solr1.xml <Context docBase="f:/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="f:/solr1home" override="true" /> </Context> [EMAIL PROTECTED] /cygdrive/f/opt/tomcat55/conf/Catalina/localhost $ cat solr2.xml <Context docBase="f:/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="f:/solr2home" override="true" /> </Context> You don't put anything related to solr under webapps. The paths to the two webapps will be http://host:port/solr1 and http://host:port/solr2 If this seems fine with everyone, we can create a Wiki topic and let people on solr-user know. -Yonik