Hi Lighton, i kept having the same result, forbidden error, even when not using 'o' flag. however, every time i try, it stopped at different items, one time at 700.. the other time at 100...
i had also look at the issue you mentioned, but i dont know which protocol should i extend its connection timeout, since i use both http and ajp. i will try changing both of them then and tell you how it goes best regards, adywp On Thu, 30 May 2013 18:45:55 +0200, Lighton Phiri wrote: > Hello, > > What happens if you re-run the import without optimising your index > --running it without the 'o' flag? Perhaps it has something to do > with > this [1]? > > [dspace]/bin/dspace oai import -c > > [1] https://issues.apache.org/jira/browse/SOLR-2832 > > Lighton Phiri > http://lightonphiri.org > > > On 30 May 2013 14:07, Ady Wahyudi Paundu <ad...@unhas.ac.id> 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/ ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ 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