Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deploying Apache Solr

843842Apr 25 2010 — edited Apr 27 2010
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2010
Added on Apr 25 2010
5 comments
710 views