Ivan Masár created DS-1404:
------------------------------
Summary: MalformedURLException not caught in SolrLogger
Key: DS-1404
URL: https://jira.duraspace.org/browse/DS-1404
Project: DSpace
Issue Type: Bug
Reporter: Ivan Masár
2012-11-28 15:02:26,700 ERROR org.dspace.statistics.SolrLogger @ no protocol:
/statistics
java.net.MalformedURLException: no protocol: /statistics
at java.net.URL.<init>(URL.java:583)
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:429)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:148)
at org.dspace.statistics.SolrLogger.<clinit>(SolrLogger.java:112)
at
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:40)
at
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:144)
MalformedURLException exception not caught. The log should point user to the
malformed value of solr-statistics.server. This happened to me when I overwrote
the config file with the source version containing ${solr.server}.
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/statistics/SolrLogger.java#L112
https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/solr-statistics.cfg#L12
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel