Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2638

Repository cluster settings are not properly loaded during Wildfly startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 5.3.0.Final
    • 5.2.0.Final
    • Configuration
    • None
    • Hide
      • Configure a domain mode Wildfly cluster with Modeshape subsystem (the issue probably exists with standalone too) - see attached configuration files
      • Configure "org.modeshape.jcr" DEBUG logging
      • The JcrRepository log messages "Starting 'reponame' repository with configuration: {...}

        " show that the repository configuration document doesn't include the clustering properties

      Show
      Configure a domain mode Wildfly cluster with Modeshape subsystem (the issue probably exists with standalone too) - see attached configuration files Configure "org.modeshape.jcr" DEBUG logging The JcrRepository log messages "Starting 'reponame' repository with configuration: {...} " show that the repository configuration document doesn't include the clustering properties

      The repository cluster settings (cluster-name, cluster-stack, cluster-config, cluster-locking) in the jboss subsystem are not properly evaluated during Wildfly startup. The clustering settings don't find their way into the repository configuration document and it's not possible to enable the ClusteringService. I've tested in domain mode, but assume it also affects standalone mode.

      As a local workaround I've moved the cluster initialization code block in method performRuntime in class org.modeshape.jboss.subsystem.AddRepository in front of the "new RepositoryConfiguration(configDoc, repositoryName);" statement, so that configDoc already contains the parsed clustering settings when the RepositoryService is initialized.

        1. host-master.xml
          5 kB
        2. jgroups-config.xml
          1 kB
        3. domain.xml
          30 kB

              hchiorean Horia Chiorean (Inactive)
              kaape Kornelius Prell (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: