Hello,
it seems like a Solr's problem.
A solution to your problem is to copy the folder
"[dspace-installation-directory]\webapps\solr" to "C:\Program Files\Apache
Software Foundation\Apache Tomcat (your version)\webapps" (or wherever is
the Tomcat's installation directory).
Another solution is to locate the Tomcat's server.xml file and change the
<Host name="localhost"  appBase="webapps" unpackWARs="true"
autoDeploy="true">
with something like that
<Host name="localhost"  appBase="/c:/dspace/webapps" unpackWARs="true"
autoDeploy="true">

Then you can test if Solr is "working" @ http://localhost:8081/solr/
<http://localhost:8080/solr/>
Hope it helps.

Teo.


2014-06-13 10:24 GMT+03:00 Hilton Gibson <[email protected]>:

> Hi Hassan
>
> Perhaps this will help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics
>
> Cheers
>
> hg
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025D
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://scholar.sun.ac.za
> http://bit.ly/goodir
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
>
> On 12 June 2014 18:39, Hassan Bhuiyan <[email protected]> wrote:
>
>> Hi
>>
>> I am trying to upgrade from DSpace1.6.2 to DSpace 4.1. Everything went
>> okay except index-discovery.
>> I can see community and collection lists and log in to DSpace
>> administrator account and see items in the pool waiting to be archived.
>>
>> Problem: Homepage shows message "Internal Systems Error" and does not
>> show the item lists.
>> It will be helpful if someone can help me please.
>>
>>
>>
>> Note: I tried with rebuild and fresh installation again but still the
>> problem remains same.
>> Note: I don't see anything  directory called "/solr/search" directory in
>> my TOMCAT.
>>
>>
>>
>> Regards
>> Hassan Bhuiyan
>> Brunel University, UK
>>
>>
>>
>> I get following error while executing index-discovery -f  ( when TOMCAT
>> is running)
>>
>> ----------------------------------------------------------------------------------------------------
>> Exception: Server at http://localhost:8080/solr/search returned non ok
>> status:404, message:Not Found
>> org.dspace.discovery.SearchServiceException: Server at
>> http://localhost:8080/solr/search returned non ok status:404,
>> message:Not Found
>>         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:62)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:483)
>>         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://localhost:8080/solr/search returned non ok status:404,
>> message:Not Found
>>         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.QueryRequest.process(QueryRequest.java:90)
>>         at
>> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
>>         at
>> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:155)
>>         at
>> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:444)
>>         ... 7 more
>>
>>
>> I get following error while executing index-discovery -f  ( when TOMCAT
>> is stopped)
>>
>>  
>> ------------------------------------------------------------------------------------------------------
>>
>> Exception: Server refused connection at:
>> http://localhost:8080/solr/search
>> org.dspace.discovery.SearchServiceException: Server refused connection
>> at: http://localhost:8080/solr/search
>>         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:62)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:483)
>>         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.SolrServerException: Server
>> refused connection at: http://localhost:8080/solr/search
>>         at
>> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:428)
>>         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
>> Caused by: org.apache.http.conn.HttpHostConnectException: Connection to
>> http://localhost:8080 refused
>>         at
>> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
>>         at
>> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
>>         at
>> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
>>         at
>> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
>>         at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
>>         at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
>>         at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
>>         at
>> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:365)
>>         ... 12 more
>> Caused by: java.net.ConnectException: Connection refused
>>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>>         at
>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>>         at
>> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>>         at
>> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>>         at java.net.Socket.connect(Socket.java:589)
>>         at
>> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
>>         at
>> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
>>         ... 19 more
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> _______________________________________________
>> 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
>>
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
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