Re: [Dspace-tech] Solr Forbidden error- resolved

2014-08-09 Thread Hardik Mishra
Hello All,

The issue got resolved by Anja's solution.

Thanks
Hardik Mishra

Sent via Nexus 4

-- Forwarded message --
From: Anja Le Blanc anja.lebl...@manchester.ac.uk
To: dspace-tech@lists.sourceforge.net
Cc:
Date: Fri, 08 Aug 2014 14:29:21 +0100
Subject: Re: [Dspace-tech] Solr Forbidden error
Out of the box DSpace comes with solr localhost access only. Just to make
sure nobody can just delete/modify your index via http requests.

Change solr configurations to userhttp http://localhost:8080/solr://
http://localhost:8080/solrlocalhost http://localhost:8080/solr:8080/
http://localhost:8080/solrsolr http://localhost:8080/solr.

Best regards,
Anja
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Solr Forbidden error

2014-08-08 Thread Hardik Mishra
Hello All,

I am using Dspace 4.2 - JSPUI on Cent Os 5.5. The instance is configured to
use static IP in the dspace.url and dspace.hostname

So, When I access JSPUI it throws

org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException:
org.dspace.discovery.SearchServiceException: Server at
http://14.139.123.141:8080/solr/search returned non ok status:403,
message:Forbidden] with root cause
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://14.139.123.141:8080/solr/search returned non ok
status:403, message:Forbidden

I googled it, I got suggestion to deploy solr on the same tomcat inside
webapps which I did. But, This didn't solve the issue.

Second, I thought as its 403 http status code. So, It could be permission
issue. I have read-write permission to current user to dspace install
directory.

Any pointers ?

-- 
Thanks
Hardik Mishra
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Solr Forbidden error

2014-08-08 Thread Anja Le Blanc
Out of the box DSpace comes with solr localhost access only. Just to 
make sure nobody can just delete/modify your index via http requests.

Change solr configurations to user http://localhost:8080/solr.

Best regards,
Anja


On 08/08/2014 14:15, Hardik Mishra wrote:
 Hello All,

 I am using Dspace 4.2 - JSPUI on Cent Os 5.5. The instance is configured
 to use static IP in the dspace.url and dspace.hostname

 So, When I access JSPUI it throws

 org.dspace.plugin.PluginException:
 org.dspace.app.webui.components.RecentSubmissionsException:
 org.dspace.browse.BrowseException:
 org.dspace.discovery.SearchServiceException: Server at
 http://14.139.123.141:8080/solr/search returned non ok status:403,
 message:Forbidden] with root cause
 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
 Server at http://14.139.123.141:8080/solr/search returned non ok
 status:403, message:Forbidden

 I googled it, I got suggestion to deploy solr on the same tomcat inside
 webapps which I did. But, This didn't solve the issue.

 Second, I thought as its 403 http status code. So, It could be
 permission issue. I have read-write permission to current user to dspace
 install directory.

 Any pointers ?

 --
 Thanks
 Hardik Mishra



 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Solr Forbidden error

2014-08-08 Thread Hardik Mishra
Hi Anja,
Will you please elaborate ?
I have set access rights to read write in solr Dir. And also deployed in
the webapp instead of context entry

Thanks
Hardik Mishra
-- Forwarded message --
From: Anja Le Blanc anja.lebl...@manchester.ac.uk
To: dspace-tech@lists.sourceforge.net
Cc:
Date: Fri, 08 Aug 2014 14:29:21 +0100
Subject: Re: [Dspace-tech] Solr Forbidden error
Out of the box DSpace comes with solr localhost access only. Just to make
sure nobody can just delete/modify your index via http requests.

Change solr configurations to userhttp http://localhost:8080/solr://
http://localhost:8080/solrlocalhost http://localhost:8080/solr:8080/
http://localhost:8080/solrsolr http://localhost:8080/solr.

Best regards,
Anja

Sent via Nexus 4

te
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette