Hi All

I keep getting this error when trying to import a solr converted log file.
Anybody had this problem before and know how to solve it.
I can connect to the local solr server using lynx at: http://localhost/solr.
See screenshot attached.

Cheers

hg

 >>>>
dsp...@ir2:~/log$ /home/dspace/bin/dspace stats-log-importer -i dspace.log.1.solr
Processing file: dspace.log.1.solr
Error seeking country while seeking 2464710009
Bad Request

Bad Request

request: http://localhost/solr/update?wt=javabin&version=2.2
org.apache.solr.common.SolrException: Bad Request

Bad Request

request: http://localhost/solr/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:363) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:501)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)
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: Bad Request

Bad Request

request: http://localhost/solr/update
org.apache.solr.common.SolrException: Bad Request

Bad Request

request: http://localhost/solr/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:389) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:501)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)
 >>>>

--
Hilton Gibson
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

<<attachment: solr.png>>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to