Hi Ady,
this exception is thrown whenever the OAI indexer is trying to access some
SOLR server which replies with a HTTP 403 Forbidden error.
The request:
http://repository.unhas.ac.id/solr/oai/update?wt=javabin&version=2
If you try to access it, it will, in fact, return a 403 error.
It shouldn't work at all (never), it's weird watching it happening after a
while.
I'm not able to figure it out what is happening, it could be an
infrastructure problem (firewall, url redirects, url rewrites...)
On 30 May 2013 13:07, Ady Wahyudi Paundu <[email protected]> wrote:
> hi all, another question,
>
> i ran [dspace]/bin/dspace oai import -c -o
> it went successfully up until 3600 items, then it show forbidden error:
>
> ...
> 3300 items imported so far...
> 3400 items imported so far...
> 3500 items imported so far...
> 3600 items imported so far...
> org.apache.solr.common.SolrException: Forbidden
>
> Forbidden
>
> request:
> http://repository.unhas.ac.id/solr/oai/update?wt=javabin&version=2
> at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
> at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> at
>
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
> at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64)
> at org.dspace.xoai.app.XOAI.index(XOAI.java:229)
> at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:210)
> at org.dspace.xoai.app.XOAI.index(XOAI.java:128)
> at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> ...
>
> what went wrong?
>
> additional info:
> both in [dspace]/config/modules/discovery.cfg and
> [dspace]/config/modules/solr-statistics.cfg, i set the server attribut
> to http://localhost/solr/....
>
> another thing: why it just went error at somewhere around 3600?
>
> best regards,
> adywp
>
> ----
> Powered by PTIK UNHAS ~ http://unhas.ac.id/
>
>
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Thanks, João Melo (My Portfolio <http://www.lyncode.com/m/jmelo/>)
DSpace Department
*Lyncode*: Official
website<http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2F&sa=D&sntz=1&usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ>
[image: Follow us on
Facebook]<http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q>
<http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww>
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette