Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5179

MultiplexingNodeStoreService does not register an OSGi service for oak.api.Descriptors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.15, 1.6.0
    • Component/s: core
    • Labels:
      None

      Description

      When starting up Apache Sling with a MultiplexingNodeStore backend Sling's discovery mechanism fails to read the repository descriptors.

      19.11.2016 13:43:06.101 *ERROR* [discovery.connectors.common.runner.331bcf42-1d0d-4b53-bf1f-c7e9df060758.discoveryLiteCheck] org.apache.sling.discovery.oak.cluster.OakClusterViewService getLocalClusterView: repository exception: java.lang.Exception: No Descriptor value available
      java.lang.Exception: No Descriptor value available
              at org.apache.sling.discovery.commons.providers.spi.base.DiscoveryLiteDescriptor.getDescriptorFrom(DiscoveryLiteDescriptor.java:45)
              at org.apache.sling.discovery.oak.cluster.OakClusterViewService.getLocalClusterView(OakClusterViewService.java:112)
              at org.apache.sling.discovery.base.commons.BaseDiscoveryService.getTopology(BaseDiscoveryService.java:77)
              at org.apache.sling.discovery.oak.OakDiscoveryService.checkForTopologyChange(OakDiscoveryService.java:657)
              at org.apache.sling.discovery.oak.pinger.OakViewChecker.discoveryLiteCheck(OakViewChecker.java:217)
              at org.apache.sling.discovery.oak.pinger.OakViewChecker.access$000(OakViewChecker.java:62)
              at org.apache.sling.discovery.oak.pinger.OakViewChecker$1.run(OakViewChecker.java:193)
              at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.safelyRun(PeriodicBackgroundJob.java:86)
              at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.run(PeriodicBackgroundJob.java:77)
              at java.lang.Thread.run(Thread.java:745)

      I noticed that these descriptors are registered as OSGi services for the other stores - Segment ( 'old' and tar ), Document.

      The MultiplexingNodeStoreService should register these as well.

        Attachments

          Activity

            People

            • Assignee:
              tomek.rekawek Tomek Rękawek
              Reporter:
              rombert Robert Munteanu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: