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!
------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to