I am having trouble getting solr configured under glassfish.
I am following the setup instructions from (http://wiki.apache.org/solr/SolrInstall). I copied the example solr home directory example/solr to /var/solr. When I deploy the solr.war and start it, I get the error that it cannot find solrconfig.xml and the places that it was looking are classpath and 'solr/conf'. First I tried to set the java property solr.solr.home=/var/solr, in both the generic JVM configuration as well as a default startup property and web container. That did not change the error message. The error message also indicates that the $CWD is set to some config directory under the default glassfish domain. So to test that idea, I copied the whole 'solr/conf' directory to that location and the admin console comes up. However, that doesn't appear to be the proper configuration either since none of the xlts appear to get triggered and I get an unadorned xml doc as return result. It also does not appear to be the way that glassfish wants its webapps configured. I also looked at the web.xml in WEB-INF of the deployed web application and found a segment that states that you can set the Solr home directory directly in web.xml. So I tried that, but that gives exactly the same solrconfig.xml not found error. Thus, I have run out of options mentioned in either the wiki or the config files. So, any suggestions how to do configure Solr to work under Glassfish? Theo