On Wed, Jun 13, 2012 at 6:42 PM, Jose Blanco <[email protected]> wrote:
> helix84,
> I followed the instructions to enable discovery:
>
> https://wiki.duraspace.org/display/DSPACE/Discovery+Configuration
>
> But when I run:
> ./dspace update-discovery-index
>
>
> I get and error, it does not seem to be able to access the solr search
> engine:
>
> Caused by: org.apache.solr.common.SolrException: Unauthorized
>
> Unauthorized
>
> request:
> http://blancoj.dev.deepblue.lib.umich.edu:8080/solr/search/select?q=search.resourcetype:2
> AND search.resourceid:1&wt=javabin&version=2
>
>
> WHen I go to the page via the url, I get page not found. I know I have it
> set up so that the user has to auth into
> blancoj.dev.deepblue.lib.umich.edu:8080, so I can see where the
> unauthorized error is coming from, but why am I getting the page not found
> error when I try to access the url directly. I have never used discovery
> before so I may be missing something in my setup.
>
> -Jose
Hi Jose,
I really don't know what to make of SolrException: Unauthorized... I
could understand Internal System Error and such, but Unauthorized?
Did you configure a context for Solr in Tomcat? That is not described
in those instructions, probably it should be. Here's an example:
<Context path="/solr" docBase="/dspace/webapps/solr" debug="0"
reloadable="true" cachingAllowed="false"
allowLinking="true"/>
Are you running update-discovery-index it as your dspace user? Do you
have a separate user for tomcat or are both owned by the same system
user?
Regarding accessing the /solr/ URL from your browser, by default it's
configured to allow access only from localhost. I described this in
detail at
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-ConnectingtoSolr
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech