Dear All,

I am trying to import converted log files into solr statistics using the 
command "dspace stats-log-importer -i [dspace]/log/dspace.log -m -s -v" but 
it seems the import is not completed because I received this error:

Exception: Invalid content type:
org.apache.http.ParseException: Invalid content type:
        at org.apache.http.entity.ContentType.parse(ContentType.java:233)
        at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSo
lrServer.java:496)
        at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ
er.java:210)
        at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ
er.java:206)
        at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(Ab
stractUpdateRequest.java:124)
        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
        at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter
.java:340)
        at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter
.java:486)
        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.runOneCommand(ScriptLauncher.j
ava:226)
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)

Also, before this error occurred, the last line processed contains this:

Line:20150623065111672,view_item,11328,2015-06-23T06:51:11,anonymous

Does this mean that the import was unsuccessful or partially successful 
(The latest dspace log date I have is 2015-09-25)? Any advice on how to fix 
this? Is this resumable?

Thanks in advance and regards,
euler

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to