I'm using with success Jetty 6.1.1 and solr.
What I did was starting jetty with:
java  -server  -jar start.jar etc/solr-jetty.xml

and putting inside etc/solr-jetty.xml the JNDI activation to use a single
jetty with multiple solr databases
named plus-config:

 <!-- =========================================================== -->
    <!-- Configurations for WebAppContexts                           -->
    <!-- Sequence of configurations to be applied to a webapp.       -->
    <!-- =========================================================== -->
    <Array id="plusConfig" type="java.lang.String">
      <Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
      <Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
      <Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
      <Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
      <Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
    </Array>

then I have into webapps-plus/ folder many .war with different names one for
every solr database.
Inside the war I have added the env variable into WEB-INF/web.xml to have
every database to a specific home where schema e config file are present.


-- 
View this message in context: 
http://www.nabble.com/SOLR-with-Jetty-6.1.1-tf3553971.html#a9964936
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to