Thanks a lot Hossman; this solved it for me. Essential for me was to understand that I had to create a solr.xml file in <tomcat_home>\conf\Catalina\localhost see hereunder in the quote an example.
The docbase should point to the .war file somewhere on my system. The value-attribute for the <Environment name="solr/home" value="...." .... /> should point to a directory where tomcat can create the lucene/solr index files. That home directory should also contain the conf directory from the example in the solr distribution. And that was it. hossman wrote: > > <!-- > > An example of declaring a specific tomcat context file that > points at our solr.war (anywhere we want it) and a Solr Home > directory (any where we want it) using JNDI. > > We could have multiple context files like this, with different > names (and different Solr Home settings) to support multiple > indexes on one box. > > --> > <Context > docBase="/var/tmp/ac-demo/apache-solr-1.2.0/dist/apache-solr-1.2.0.war" > debug="0" > crossContext="true" > > > <Environment name="solr/home" > value="/var/tmp/ac-demo/books-solr-home/" > type="java.lang.String" > override="true" /> > </Context> > -- View this message in context: http://www.nabble.com/Tomcat-JNDI-Settings-tf4753435.html#a14001375 Sent from the Solr - User mailing list archive at Nabble.com.