mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Fabio Pistolesi
18.25.2016 3a9145fbffce07e4c8be25bcda7ee4b2eed4e797
OPENDJ-3027 Crypto related services should be started before replication

Replication tries to read synchronization information from the base entry, so admin backend should be fully up and running
1 files modified
8 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/core/DirectoryServer.java 8 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/core/DirectoryServer.java
@@ -1588,6 +1588,11 @@
      pluginConfigManager.initializeUserPlugins(null);
      // Synchronization of ADS with the crypto manager.
      // Need access to ADS keys before synchronization starts to be able to decode encrypted data in the backend
      // by reading them from the trust store.
      new CryptoManagerSync();
      if (!environmentConfig.disableSynchronization())
      {
        synchronizationProviderConfigManager = new SynchronizationProviderConfigManager(serverContext);
@@ -1621,9 +1626,6 @@
        new IdleTimeLimitThread().start();
      }
      // Synchronization of ADS with the crypto manager.
      new CryptoManagerSync();
      // Write a copy of the config if needed.
      if (saveConfigOnSuccessfulStartup)
      {