You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by rgummadi <ra...@gmail.com> on 2017/04/18 13:40:47 UTC
Running Solr6 on Tomcat7
Is anyone successfull in running Solr6 on Tomcat7. If so can you give me some
pointers on how you did this?
--
View this message in context: http://lucene.472066.n3.nabble.com/Running-Solr6-on-Tomcat7-tp4330500.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Running Solr6 on Tomcat7
Posted by Shawn Heisey <ap...@elyograg.org>.
On 4/18/2017 7:40 AM, rgummadi wrote:
> Is anyone successfull in running Solr6 on Tomcat7. If so can you give
> me some pointers on how you did this?
Running in this way is officially unsupported. You can most likely do
it, but we strongly recommend that you don't. You are on your own when
it comes to figuring out HOW to do it.
https://wiki.apache.org/solr/WhyNoWar
The webapp is already extracted as server/solr-webapp/webapp ... Tomcat
should include instructions for installing an app like this. You will
also need logging jars from server/lib/ext to be installed somewhere
Tomcat can find them.
The following is important enough to say it again: We recommend that
you do NOT do this. Even though it probably will work, there's no
guarantee that any container other than the one Solr ships with is going
to run. The admin UI in particular may not function correctly. You may
also find that it's difficult to obtain help for a non-standard
install. Eventually,the plan is to create Solr as a standalone
application that you won't be able to install into Tomcat.
Thanks,
Shawn
Re: Running Solr6 on Tomcat7
Posted by rgummadi <ra...@gmail.com>.
Thanks. I will try your steps.
--
View this message in context: http://lucene.472066.n3.nabble.com/Running-Solr6-on-Tomcat7-tp4330500p4331258.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Running Solr6 on Tomcat7
Posted by "ankur.168" <an...@gmail.com>.
As Shawn said, it is not recommended, still if you want to do this you can
follow these steps(picked from following post
http://lucene.472066.n3.nabble.com/Running-Solr-6-3-on-Tomcat-Help-Please-td4320874.html)
The following instructions work with Solr 6.2 + Tomcat 8.5:
1. Copy solr-6.2.0/server/solr-webapp/webapp directory to tomcat/webapps
and rename it to 'solr'.
2. Copy solr-6.2.0/server/lib/ext/*.jar and
solr-6.2.0/dist/solr-dataimporthandler-*.jar to solr/WEB-INF/lib
3. Uncomment env-entry for solr/home in web.xml and set the value to
solr-6.2.0/server/solr
4. Copy solr-6.2.0/server/WEB-INF/resources/log4j.properties to
solr/WEB-INF/classes
I have tried this and was able to use basic admin ui functions, havn't tried
any 6.2+ versions with this.
--
View this message in context: http://lucene.472066.n3.nabble.com/Running-Solr6-on-Tomcat7-tp4330500p4331256.html
Sent from the Solr - User mailing list archive at Nabble.com.