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 <[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 ------------------------------------------------------------------------------ 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

