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

2012-12-10 Thread vj
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.


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

2012-05-16 Thread rjain15
http://localhost:8983/solr/#/~cloud

I get the 404 error

Loading of undefined failed with HTTP-Status 404 

I am using the nightly build, apache-solr-4.0-2012-05-15_08-20-37

Thanks
Rajesh

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


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

2012-05-16 Thread Stefan Matheis
And you're running SolrCloud and not just 'java -jar start.jar', right Rajesh?



On Wednesday, May 16, 2012 at 7:39 PM, rjain15 wrote:

 http://localhost:8983/solr/#/~cloud
 
 I get the 404 error
 
 Loading of undefined failed with HTTP-Status 404 
 
 I am using the nightly build, apache-solr-4.0-2012-05-15_08-20-37
 
 Thanks
 Rajesh
 
 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Solr-4-0-How-do-I-enable-JSP-support-tp3983763p3984183.html
 Sent from the Solr - User mailing list archive at Nabble.com 
 (http://Nabble.com).





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

2012-05-16 Thread rjain15
java -jar start.jar -OPTIONS=jsp

What is SolrCloud...sorry newbie to Solr. 

Thanks
Rajesh


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


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

2012-05-16 Thread Stefan Matheis
That will just enable the Support for rendering JSP's, but not more. For 
SolrCloud you may want to read the Wiki: http://wiki.apache.org/solr/SolrCloud



On Wednesday, May 16, 2012 at 8:07 PM, rjain15 wrote:

 java -jar start.jar -OPTIONS=jsp
 
 What is SolrCloud...sorry newbie to Solr. 
 
 Thanks
 Rajesh
 
 
 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Solr-4-0-How-do-I-enable-JSP-support-tp3983763p3984195.html
 Sent from the Solr - User mailing list archive at Nabble.com 
 (http://Nabble.com).





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

2012-05-15 Thread Erick Erickson
What do you mean jsp support? What is it you're trying to do
with jsp? What servelet container are you using? Details matter.

Best
Erick

On Mon, May 14, 2012 at 5:34 PM, Naga Vijayapuram nvija...@tibco.com wrote:
 Hello,

 How do I enable JSP support in Solr 4.0 ?

 Thanks
 Naga


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

2012-05-15 Thread Stefan Matheis
Afaik we disabled JSP-Functionality in SOLR-3159 while upgrading Jetty .. 



On Tuesday, May 15, 2012 at 1:44 PM, Erick Erickson wrote:

 What do you mean jsp support? What is it you're trying to do
 with jsp? What servelet container are you using? Details matter.
 
 Best
 Erick
 
 On Mon, May 14, 2012 at 5:34 PM, Naga Vijayapuram nvija...@tibco.com 
 (mailto:nvija...@tibco.com) wrote:
  Hello,
  
  How do I enable JSP support in Solr 4.0 ?
  
  Thanks
  Naga
 





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

2012-05-15 Thread Ryan McKinley
In 4.0, solr no longer uses JSP, so it is not enabled in the example setup.

You can enable JSP in your servlet container using whatever method
they provide.  For Jetty, using start.jar, you need to add the command
line: java -jar start.jar -OPTIONS=jsp

ryan



On Mon, May 14, 2012 at 2:34 PM, Naga Vijayapuram nvija...@tibco.com wrote:
 Hello,

 How do I enable JSP support in Solr 4.0 ?

 Thanks
 Naga


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

2012-05-15 Thread Naga Vijayapuram
Alright; thanks.  Tried with -OPTIONS=jsp and am still seeing this on
console Š

2012-05-15 12:47:08.837:INFO:solr:No JSP support.  Check that JSP jars are
in lib/jsp and that the JSP option has been specified to start.jar

I am trying to go after
http://localhost:8983/solr/collection1/admin/zookeeper.jsp (or its
equivalent in 4.0) after going through
http://wiki.apache.org/solr/SolrCloud

May I know the right zookeeper url in 4.0 please?

Thanks
Naga


On 5/15/12 10:56 AM, Ryan McKinley ryan...@gmail.com wrote:

In 4.0, solr no longer uses JSP, so it is not enabled in the example
setup.

You can enable JSP in your servlet container using whatever method
they provide.  For Jetty, using start.jar, you need to add the command
line: java -jar start.jar -OPTIONS=jsp

ryan



On Mon, May 14, 2012 at 2:34 PM, Naga Vijayapuram nvija...@tibco.com
wrote:
 Hello,

 How do I enable JSP support in Solr 4.0 ?

 Thanks
 Naga



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

2012-05-15 Thread Naga Vijayapuram
Finally got a handle on this by looking into the New Admin UI -
http://localhost:8983/solr/#/~cloud

Thanks
Naga


On 5/15/12 12:53 PM, Naga Vijayapuram nvija...@tibco.com wrote:

Alright; thanks.  Tried with -OPTIONS=jsp and am still seeing this on
console Š

2012-05-15 12:47:08.837:INFO:solr:No JSP support.  Check that JSP jars are
in lib/jsp and that the JSP option has been specified to start.jar

I am trying to go after
http://localhost:8983/solr/collection1/admin/zookeeper.jsp (or its
equivalent in 4.0) after going through
http://wiki.apache.org/solr/SolrCloud

May I know the right zookeeper url in 4.0 please?

Thanks
Naga


On 5/15/12 10:56 AM, Ryan McKinley ryan...@gmail.com wrote:

In 4.0, solr no longer uses JSP, so it is not enabled in the example
setup.

You can enable JSP in your servlet container using whatever method
they provide.  For Jetty, using start.jar, you need to add the command
line: java -jar start.jar -OPTIONS=jsp

ryan



On Mon, May 14, 2012 at 2:34 PM, Naga Vijayapuram nvija...@tibco.com
wrote:
 Hello,

 How do I enable JSP support in Solr 4.0 ?

 Thanks
 Naga




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

2012-05-15 Thread Ryan McKinley
just use the admin UI -- look at the 'cloud' tab


On Tue, May 15, 2012 at 12:53 PM, Naga Vijayapuram nvija...@tibco.com wrote:
 Alright; thanks.  Tried with -OPTIONS=jsp and am still seeing this on
 console Š

 2012-05-15 12:47:08.837:INFO:solr:No JSP support.  Check that JSP jars are
 in lib/jsp and that the JSP option has been specified to start.jar

 I am trying to go after
 http://localhost:8983/solr/collection1/admin/zookeeper.jsp (or its
 equivalent in 4.0) after going through
 http://wiki.apache.org/solr/SolrCloud

 May I know the right zookeeper url in 4.0 please?

 Thanks
 Naga


 On 5/15/12 10:56 AM, Ryan McKinley ryan...@gmail.com wrote:

In 4.0, solr no longer uses JSP, so it is not enabled in the example
setup.

You can enable JSP in your servlet container using whatever method
they provide.  For Jetty, using start.jar, you need to add the command
line: java -jar start.jar -OPTIONS=jsp

ryan



On Mon, May 14, 2012 at 2:34 PM, Naga Vijayapuram nvija...@tibco.com
wrote:
 Hello,

 How do I enable JSP support in Solr 4.0 ?

 Thanks
 Naga



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

2012-05-14 Thread Naga Vijayapuram
Hello,

How do I enable JSP support in Solr 4.0 ?

Thanks
Naga