Stuart,
Thanks. I had failed to define the solr path in the server.xml file. Once I
did that things moved a little further but I am unable to connect to the solr
server (see error below).
Processing file: /dspace/newlog/dspace.log.2009-06-28
java.net.ConnectException: Connection refused
org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException:
Connection refused
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:391)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
at
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
at
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361)
at
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:246)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:335)
... 10 more
Processed 1 log lines
- 0 entries added to solr: 0%
- 1 errors: 100%
- 0 search engine activity skipped: 0%
About to commit data to solr...Error committing statistics to solr server!
From: Stuart Lewis [mailto:[email protected]]
Sent: Saturday, March 06, 2010 1:18 AM
To: Poulter, Dale; [email protected]
Subject: RE: Statistics in 1.6
Hi Dale,
What do you have set in dspace.cfg for 'solr.log.server'?
Hopefully it will be something like: '${dspace.baseURL}/solr/statistics'?
Assuming it is:
i) Have you installed the 'solr' webapp as 'solr' (some people rename their
webapps)
ii) What setting doyou have in dspace.cfg for dspace.baseUrl?
Thanks,
Stuart
________________________________
From: Poulter, Dale [[email protected]]
Sent: Saturday, 6 March 2010 1:38 p.m.
To: [email protected]
Subject: [Dspace-tech] Statistics in 1.6
Good evening all,
We have been able to successfully install 1.6 and the system seems to be
working great so far. However, after we successfully converted the old logs
we have been unable to import the new logs. After several attempts, we
regularly get the error below. Any suggestions as to the cause? Thanks,
bash-3.00# ./dspace stats-log-importer -i /dspace/newlog/dspace.log -m
Exception: null
java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:97)
at
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194)
--Dale
---------------------------------------
Dale Poulter
Automation Coordinator
Library Information Technology Services
Vanderbilt University
Suite 700
110 21st Avenue South
Nashville, TN 37240
(615)343-5388
(615)343-8834 (fax)
(615)207-9705 (cell)
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech