Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-241

explicitly loggin an error message for missing system property for string substitution in solrconfig.xml

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.2
    • clients - java
    • None

    Description

      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,

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ehatcher Erik Hatcher
            koji Koji Sekiguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment