Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13425

Checker tool: check.history.lostnfound fails, repository.xml is outdated

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • checker-2.2.0
    • checker-2.7.0
    • None
    • None
    • 7
    • Flagged
    • Orion
    • Orion.Cycle1.Sprint1, Orion.Cycle1.Sprint2, Orion.Cycle1.Sprint3

    Description

      When setting up the checker tool as in
      https://xmdocumentation.bloomreach.com/library/administration/maintenance/checker-tool.html,
      the generated checker-repository.xml has problems while using it:

      1) a deprecated MySQL driver reference

      Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
      

      2) it uses the DataSources and DataSource elements which is not allowed according to http://jackrabbit.apache.org/dtd/repository-1.6.dtd.

      29.05.2020 14:05:16 WARN [org.apache.jackrabbit.core.config.ConfigurationErrorHandler.log():41] Warning parsing the configuration at line 20 using system id file:/home/tools/checker/checker-repository.xml: org.xml.sax.SAXParseException; systemId: file:/home/tools/checker/checker-repository.xml; lineNumber: 20; columnNumber: 16; Element type "DataSources" must be declared.
      29.05.2020 14:05:16 WARN [org.apache.jackrabbit.core.config.ConfigurationErrorHandler.log():41] Warning parsing the configuration at line 21 using system id file:/home/tools/checker/checker-repository.xml: org.xml.sax.SAXParseException; systemId: file:/home/tools/checker/checker-repository.xml; lineNumber: 21; columnNumber: 28; Element type "DataSource" must be declared.
      29.05.2020 14:05:16 WARN [org.apache.jackrabbit.core.config.ConfigurationErrorHandler.log():41] Warning parsing the configuration at line 30 using system id file:/home/tools/checker/checker-repository.xml: org.xml.sax.SAXParseException; systemId: file:/home/tools/checker/checker-repository.xml; lineNumber: 30; columnNumber: 28; Element type "DataSource" must be declared.
      29.05.2020 14:05:16 WARN [org.apache.jackrabbit.core.config.ConfigurationErrorHandler.log():41] Warning parsing the configuration at line 95 using system id file:/home/tools/checker/checker-repository.xml: org.xml.sax.SAXParseException; systemId: file:/home/tools/checker/checker-repository.xml; lineNumber: 95; columnNumber: 14; The content of element type "Repository" must match "(Cluster|FileSystem|DataStore|Security|Workspaces|Workspace|Versioning|SearchIndex|RepositoryLockMechanism)*".
      

      But if the DTD is changed to "http://jackrabbit.apache.org/dtd/repository-2.6.dtd" this doesn't happen.

      check.history.lostnfound
      Additionally, property check.history.lostnfound isn't working, has never worked, since it needs an nt:unstructured node below /jcr:system/jcr:versionStorage which isn't possible. Suggestion to remove it.

      Attachments

        Activity

          People

            jhoffman Jeroen Hoffman
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: