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 vj <vj...@gmail.com> on 2012/12/11 03:57:20 UTC

Re: - Solr 4.0 - How do I enable JSP support ? ...

For anyone else looking to run JSPs on solr 4.0, note that supplying
OPTIONS=jsp to the server etc doesn't work (checkout startup config in
start.jar and you'll see why) - don't bother with all that. Instead do the
following:
create a directory ext under: $SOLR_HOME\example\lib
copy the following jar files to this new folder
($SOLR_HOME\example\lib\ext):

ant-1.8.2.jar
ant-launcher.jar
jsp-2.1-glassfish-2.1.v20091210.jar
jsp-api-2.1-glassfish-2.1.v20091210
tools.jar

the ant and glassfish jars can be downloaded from: http://search.maven.org.
copy tools.jar from your jdk 1.6+ installation.
Restart solr..




--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-How-do-I-enable-JSP-support-tp3983763p4025897.html
Sent from the Solr - User mailing list archive at Nabble.com.