Hi,
I've installed Dspace 3.x and when I try to execute the following command:
/usr/share/dspace/bin/dspace oai import
I'm getting the following error.
[root@dspace-d1 dspace]# /usr/share/dspace/bin/dspace oai import
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=b71ace5d-2ed0-4727-8118-ff63b84f7569,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/usr/share/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading:
/usr/share/dspace/config/log4j.properties
OAI 2.0 manager action started
org.dspace.xoai.solr.exceptions.DSpaceSolrIndexerException: Error executing
query
at org.dspace.xoai.app.XOAI.index(XOAI.java:160)
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:606)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.dspace.xoai.solr.exceptions.DSpaceSolrException: Error
executing query
at
org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:39)
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
... 6 more
Caused by: org.apache.solr.client.solrj.SolrServerException: Error
executing query
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at
org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:34)
... 7 more
Caused by: org.apache.solr.common.SolrException: Not Found
Not Found
request:
http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodifieddesc,
item.id asc&rows=1&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.QueryRequest.process(QueryRequest.java:89)
... 9 more
The SOLR server is up and runnig. I've checket it in the Web browser:
http://localhost/solr/search/admin/
I can execute querys from there.
Any ideas?
Thanks in advance for your help!
Hernán
--
Hernán Carvajal Briceño.
[email protected]
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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