Hi, I think that part of what's happening is that your request to http://dspace-test.hio.no:8080/solr/statistics is being forwarded to somewhere else.
See this output from the command line: wget http://dspace-test.hio.no/solr/statistics --2010-04-21 09:12:25-- http://dspace-test.hio.no/solr/statistics Resolving dspace-test.hio.no... 158.36.78.39 Connecting to dspace-test.hio.no|158.36.78.39|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://dspace-test.hio.no/solr/statistics [following] The last couple of lines show my http request being forwarded to https, with a Moved Temporarily message. Is it possible something similar is happening on your end? If that's the case, you might need to - make an adjustment to solr.log.server in your dspace.cfg file and set it to the final url OR - make an adjustment somewhere else on your system to prevent requests to /solr/statistics from being forwarded/forced to https. --keith ----- Original Message ----- From: "Trude Eikebrokk" <trude.eikebr...@hio.no> To: dspace-tech@lists.sourceforge.net Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Solr error: moved temporarily I'm joining the wave of SOLR-error reports. As I'm unfortunately not a programmer, I'd appreciate any help! I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20. Whenever I try to use solr I get an Moved Temporarily.exception. Below is what happens when I try to convert the log-files. [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i /opt/dspace/dspace.dir/log/solr.log -m Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics solr.log.2010-03-24 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24 Line:20100324000031852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city = Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabin&version=2.2 org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabin&version=2.2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) 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) 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...Exception: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) 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.commit(SolrServer.java:85) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387) 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) -- Mvh Trude Eikebrokk Oslo University College trude.eikebr...@hio.no 22 45 35 70 p48/S336 ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech