Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-7947

With DJ as a repo, OpenIDM fails to start when using HSM

    Details

      Description

      When we configure OpenIDM with:

      then on startup, we have errors and never reach "OpenIDM Ready".
      Here is what we get in the log:

      INFO: Started HttpServiceContext{httpContext=org.ops4j.pax.web.service.internal.DefaultSharedWebContainerContext@281f9e79}
      Mar 22, 2017 1:56:15 AM org.forgerock.openidm.servlet.internal.ErrorServletComponent activate
      INFO: Registered servlet at /error
      Mar 22, 2017 1:56:30 AM org.forgerock.openidm.info.impl.HealthService$4 run
      SEVERE: OpenIDM failure during startup, ACTIVE_NOT_READY: Required services not all started [org.forgerock.openidm.api-servlet, org.forgerock.openidm.audit, org.forgerock.openidm.authentication, org.forgerock.openidm.cluster, org.forgerock.openidm.config.manage, org.forgerock.openidm.managed, org.forgerock.openidm.policy, org.forgerock.openidm.repo.(orientdb|jdbc|opendj), org.forgerock.openidm.scheduler, org.forgerock.openidm.script, org.forgerock.openidm.security]
      ...
      Mar 22, 2017 1:56:12 AM org.forgerock.openidm.config.installer.JSONConfigInstaller setConfig
      INFO: Loaded changed configuration for org.forgerock.openidm.endpoint getavailableuserstoassign from endpoint-getavailableuserstoassign.json
      Mar 22, 2017 1:56:12 AM org.forgerock.openidm.config.installer.JSONConfigInstaller setConfig
      WARNING: Loading configuration file /home/testuser/jenkins/workspace/OpenIDM-Tests-Master-Core-Linux-OpenDJ/results/20170321-215030/security/hsm/IDM/openidm/conf/endpoint-getavailableuserstoassign.json failed 
      java.io.IOException: Failed to store configuration in repository: No Such Entry: Entry ou=config,dc=openidm,dc=forgerock,dc=com cannot be added because its parent entry dc=openidm,dc=forgerock,dc=com does not exist in the server
              at org.forgerock.openidm.config.persistence.RepoPersistenceManager.store(RepoPersistenceManager.java:393)
              at org.apache.felix.cm.impl.CachingPersistenceManagerProxy.store(CachingPersistenceManagerProxy.java:246)
              at org.apache.felix.cm.impl.ConfigurationImpl.update(ConfigurationImpl.java:381)
              at org.apache.felix.cm.impl.ConfigurationAdapter.update(ConfigurationAdapter.java:137)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                travis.haagen Travis Haagen
                Reporter:
                laurent.bristiel Laurent Bristiel [X] (Inactive)
                QA Assignee:
                Ladislav Folta
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: