Hi I am having problem with the dspace stats script following an upgrade from 1.7.1 to 1.8.1
The solr server is running and lynx http://127.0.0.1/solr/statistics/select?q=*:* works fine and returns the statistics file However when I try to run the dspace stats script I get the following error [dspace@standbyvle bin]$ dspace stats-util -b -r Exception: Error executing query 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.statistics.SolrLogger.reindexBitstreamHits(SolrLogger.java:1009) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:96) 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:183) Caused by: org.apache.solr.common.SolrException: /solr/statistics/select /solr/statistics/select request: http://localhost:8080/solr/statistics/select?q=*:*&fq=type:0&fq=-bundleName:[* TO *]&rows=0&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) ... 8 more It looks as if it is looking for solr at localhost:8080. Any idea how I can change the URL/port number its looking for here please? I have already set the entries in the appropriate config/modules files to point to the correct URL for solr. Thanks very much Clive ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

