Constantijn Visinescu wrote: > > This might be a bit of a hack but i got this in the web.xml of my > applicatin > and it works great. > > <!-- People who want to hardcode their "Solr Home" directly into the > WAR File can set the JNDI property here... > --> > <env-entry> > <env-entry-name>solr/home</env-entry-name> > <env-entry-value>/Solr/WebRoot/WEB-INF/solr</env-entry-value> > <env-entry-type>java.lang.String</env-entry-type> > </env-entry> > >
That worked, thanks. You're right though, it is a bit of a hack -- I'd prefer to set the path from *outside* the app so it won't get overwritten when I upgrade. Now I've got a completely different error: "org.apache.lucene.index.CorruptIndexException: Unknown format version: -9". I think it might be time for a fresh install... Cheers, Andrew. -- View this message in context: http://www.nabble.com/Problem-getting-Solr-home-from-JNDI-in-Tomcat-tp25662200p25663931.html Sent from the Solr - User mailing list archive at Nabble.com.