[Dspace-tech] OAI import crashing

10 views
Skip to first unread message

X ch

unread,
Aug 26, 2015, 1:03:51 PM8/26/15
to dspace-tech
Hi,

We're running DSpace 4.1 and we're having an issue importing OAI via the dspace command.

/opt/dspace/bin# ./dspace oai import
Exception: Server at http://ourserver.com/solr/search returned non ok status:411, message:Length Required
org.dspace.discovery.SearchServiceException: Server at http://ourserver.com/solr/search returned non ok status:411, message:Length Required
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:484)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
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:622)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at http://ourserver.com/solr/search returned non ok status:411, message:Length Required
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:450)
... 7 more

Anyone knows what might be happening? It's a fresh install and we've created a community and uploaded 2-3 documents. However, those documents don't display at the community listing which is also strange... Neither they appear on searches (so basically, right not it doesn't appear any document at all). I don't know if this might have something to do with the OAI issue.

Any help appreciated.

Thanks!
Reply all
Reply to author
Forward
0 new messages