Hello every body,
I installed dspace successfully and it runs well. I set XMLUI to be ROOT.
Now, I want to enable discovery in it.
I followed all instructions in this link : Enabling
Discovery<https://wiki.duraspace.org/display/DSDOC3x/Discovery>
But at the end, when I run the last command: [dspace]/bin/dspace
update-discovery-index
It throws exception:

Exception: null
org.dspace.discovery.SearchServiceException
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
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:606)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:619)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:146)
at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)
... 6 more
Caused by: java.lang.NullPointerException
at java.net.URL.<init>(URL.java:524)
... 11 more

http://localhost:8080 works fine.
http://localhost:8080/solr don't works.

It shows:
HTTP Status 500 - Severe errors in solr configuration. Check your log files
for more detailed information on what may be wrong. If you want solr to
continue after configuration errors, change:
<abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml
-------------------------------------------------------------
java.lang.RuntimeException: java.io.IOException: Cannot create directory:
/dspace/solr/statistics/data/index at
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:409) at



Any help please?
Thanks so much

--
r
egards,
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to