You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2007/05/17 05:43:16 UTC

[jira] Resolved: (SOLR-241) explicitly loggin an error message for missing system property for string substitution in solrconfig.xml

     [ https://issues.apache.org/jira/browse/SOLR-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-241.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Thanks Koji!

> explicitly loggin an error message for missing system property for string substitution in solrconfig.xml
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-241
>                 URL: https://issues.apache.org/jira/browse/SOLR-241
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Koji Sekiguchi
>         Assigned To: Erik Hatcher
>            Priority: Trivial
>             Fix For: 1.2
>
>         Attachments: Config.patch
>
>
> Solr has a pretty good string substitution function in solrconfig.xml (${system.property[:default value]}). If there is no system property defined, DOMUtil throws a SolrException(500), but it not logged. I'm using Tomcat 5.5.
> I had a hard time to find my problem when I forgot to set a system property that was refered in solrconfig.xml.
> The patch is to file the problem to the logger explicitly.
> regards,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.