Deploying Apache Solr
843842Apr 25 2010 — edited Apr 27 2010I just got started with Glassfish (bought the marketing that Glassfish is beneficial over Tomcat) but have not been able to get Apache Solr deployed.
I can't find any documentation that actually explains how all the pieces need to work together (classloader, config files, users, etc.) so I am feel like a blindfolded man trying to hit the pinata.
In the log, the following error seems pertinent.
java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/opt/glassfishv3/glassfish/domains/domain1/config
I stuck solrconfig.xml in 'solr/conf/' as per Solr instructions, but don't know how glassfish treats the war and how the war treats the file system subdirectories. So I have no idea what needs to change for Solr to find solrconfig.xml.
Would be nice to get a better understanding of the overall architecture of server and servlet and what depends on what when.