Got it... this was not working because I didn't noticed the fact that the
upgrade has putt in my directories a lot of duplicate files with .new
extension. so during the upgrade a lot of old files remained active, including
launcher.xml .
(this was my first upgrade...so don't shoot me:))
Now I've searched the manual and this thing is mentioned only for the
instructions to upgrade from 1.5.0 to 1.5.2 (page 69), and not in the
instructions for ALL upgrades. I believe this should be corrected... There may
be more dummies like me out there...Also I've got this error:
D:\DSpace\bin>dspace update-discovery-index
Using DSpace installation in: D:\DSpace
Exception: java.net.ConnectException: Connection refused: connect
org.dspace.discovery.SearchServiceException: java.net.ConnectException: Connecti
on refused: connect
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
380)
at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectExc
eption: Connection refused: connect
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
nsHttpSolrServer.java:483)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
nsHttpSolrServer.java:244)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques
t.java:89)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105
)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
353)
... 6 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c
reateSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c
reateSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java
:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt
pMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
thodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:323)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
nsHttpSolrServer.java:427)
... 11 more
D:\DSpace\bin>org.dspace.discovery.SearchServiceException: java.net.ConnectExcep
tion: Connecti
'org.dspace.discovery.SearchServiceException:' is not recognized as an internal
or external command,
operable program or batch file.
I found another mentions of this error at:http://pastebin.com/mvJe1RJ1
The reason for this was that I've stopped the tomcat during the execution of
update-discovery-index command
... so it must be ON...good to know
Thank you for your help!
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech