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 "Geetha, ANGLER - EIT" <ge...@angleritech.com> on 2008/10/14 11:31:14 UTC

Deploying Solr with winstone servlet

Hi,
 
I need to deploy the Solr using winstone servlet engine. Please help me
how to configure it.
 
 

Regards,

 

Geetha  S | System and Software Engineer

email: geetha@angleritech.com

 

 

 

Re: Deploying Solr with winstone servlet

Posted by Chris Hostetter <ho...@fucit.org>.
: I need to deploy the Solr using winstone servlet engine. Please help me
: how to configure it.

I've never heard of winstone until reading your thread, but according to 
the home page...

	http://winstone.sourceforge.net/

...you just specify the name of the war on the command line...

 java -jar target/winstone-0.9.10.jar --warfile=solr.war

You'll need to specify the Sole Home Directory somehow, either using the 
current working directory, or using a system property...

 java -Dsolr.solr.home=/some/dir -jar target/winstone-0.9.10.jar --warfile=solr.war

..or using JNDI (aparently winestone has some options for that)

Note however that the winstone webpage explicitly says it's not a 
fully compliant servlet container, so it's very possible some things may 
not work properly.

-Hoss