Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by MattKangas: http://wiki.apache.org/solr/SolrJetty ------------------------------------------------------------------------------ Fortunately, I've found a solution that works well: * Specify "`ContextDeployer`" in `jetty.xml` * For each web app, add a `.xml` file in "`./contexts`" - * Set `ConfigurationClasses` to activate JNDI. (AFAIK, must be done separately for each webapp) + * Set `ConfigurationClasses` to activate JNDI. (must be done separately for each webapp) * Set `overrideDescriptor` to define an [http://docs.codehaus.org/display/JETTY/override+web.xml override web.xml file] * In the `overrideDescriptor` file, set an `<env-entry>` for "`solr/home`" The "`overrideDescriptor`" settings will be applied AFTER it has been configured by the default descriptor and the WEB-INF/web.xml descriptor. + It is still necessary to define the "`plusConfig`" and set "`ConfigurationClasses`" to it. Without this, the `overrideDescriptor` won't be applied. + I'm glossing over a lot of details, natch, so I am attaching a tarball with a known-good configuration that runs two Solr instances inside one Jetty container. I'm using Solr 1.2.0 and Jetty 6.1.3 respectively. attachment:DEMO_multiple_webapps_jetty_6.1.3.tgz
