Reputation: 4987
I am new to J2EE and Solr and I wonder that I should run Solr with Tomcat or Glassfish ? I need some advices, thanks.
Upvotes: 0
Views: 910
Reputation: 23098
Here are the supported and documented platforms for Solr. Its OK to choose any one of these. Even Jetty can be used in production.
http://wiki.apache.org/solr/SolrInstall#Servlet_Container_or_Environment_Specific_Tips
Users of either one are well-represented in Stack Overflow (see quick search below), so its unlikely you would be left in the lurch when you face any trouble.
4,288 search results for posts containing solr tomcat
3,695 search results for posts containing solr glassfish
Myself, I used only Tomcat. Its as simple as dropping in a simple XML file pointing to your Solr directory in Tomcat's configuration ( http://wiki.apache.org/solr/SolrTomcat#Multiple_Solr_Webapps ).
I can vouch that Tomcat is straightforward to setup and extend. And (equally true for Glassfish and others) tested and documented for Solr, production-stable and has an active community.
Upvotes: 2