On 14 February 2013 14:42, Bayu Widyasanyata <bwidyasany...@gmail.com> wrote:
> On Thu, Feb 14, 2013 at 3:53 PM, Gora Mohanty <g...@mimirtech.com> wrote:
>
>> 3. Depending on how you installed Solr, there should be a folder
>>     like webapps/solr/WEB-INF/ . In that folder, edit web.xml, and
>>     add <security-constraint> and <security-role> tags. The entries
>>     for the latter should match the entries in step 1.
>>
>
> One thing that I'm not found is folder "webapps/solr/WEB-INF/".
> I install binary Solr distribution.
> It might be not created when deployed or "first accessed"..??
> I'm not sure... :( since I also new on Tomcat deployment.

Presumably, you followed http://wiki.apache.org/solr/SolrTomcat
"Copy the .war file dist/apache-solr-*.war into $SOLR_HOME as solr.war"
Instead. remove solr.war, and try adding it through the browser interface
of the Tomcat Web Application Manager, as described, e.g., in the
section "Deploying Solr with the Tomcat Manager" at
http://lucidworks.lucidimagination.com/display/solr/Running+Solr+on+Tomcat
You might need to change the entry for solr/home in
webapps/solr/WEB-INF/web.xml

I imagine there is a way of adding web.xml with the other mode
of installation, but I am not sure how to do that.

Regards,
Gora

Reply via email to