Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4929

Remove configuration logic from SlingServerRepository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR
    • None

    Description

      The bundle's Activator creates a default configuration if none if found, to ensure that there is a configuration available for the SlingServerRepository. The Activator also handles the creation of the home directory of the repository and of the default configuration file.

      When using a configuration from the provisioning model, the repository home and the config file are not created, therefore the repository startup fails.

      The solution is to handle the directory creation and the configuration file initialisation directly in the SlingServerRepository.

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: