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

LDIF import failure on startup with DJ as repo

    Details

      Description

      When IDM is started with DJ as a repo on CentOS, I get the following in the console:

      ./startup.sh -p samples/getting-started
      Executing ./startup.sh...
      Using OPENIDM_HOME:   /home/user1/sandbox/pyforge/results/latest/idm-setup/OpenIDM_1/openidm
      Using PROJECT_HOME:   /home/user1/sandbox/pyforge/results/latest/idm-setup/OpenIDM_1/openidm/samples/getting-started
      Using OPENIDM_OPTS:   -Xmx1024m -Xms1024m
      Using LOGGING_CONFIG: -Djava.util.logging.config.file=/home/user1/sandbox/pyforge/results/latest/idm-setup/OpenIDM_1/openidm/samples/getting-started/conf/logging.properties
      Import task 20170502100818439 scheduled to start immediately
      Import task 20170502100818439 did not complete successfully
      May 02, 2017 10:08:21 AM org.forgerock.openidm.logging.LogServiceTracker logEntry
      SEVERE: Bundle: org.forgerock.openidm.repo-opendj [13] FrameworkEvent ERROR
      org.apache.felix.log.LogException: org.osgi.framework.BundleException: Activator start error in bundle org.forgerock.openidm.repo-opendj [13].
              at org.apache.felix.framework.Felix.activateBundle(Felix.java:2276)
              at org.apache.felix.framework.Felix.startBundle(Felix.java:2144)
              at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
              at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.felix.log.LogException: org.forgerock.opendj.server.embedded.EmbeddedDirectoryServerException: An error occurred while attempting to import LDIF file '/home/user1/sandbox/pyforge/results/20170501-143507/idm-setup/OpenIDM_1/openidm/db/opendj/scripts/populate_users.ldif' into embedded server with server root '/home/user1/sandbox/pyforge/results/20170501-143507/idm-setup/OpenIDM_1/openidm/db/openidm/opendj'. Error code is: 1
              at org.forgerock.opendj.server.embedded.EmbeddedDirectoryServer.importLDIF(EmbeddedDirectoryServer.java:320)
              at org.forgerock.openidm.repo.opendj.impl.Activator.setupEmbeddedServer(Activator.java:223)
              at org.forgerock.openidm.repo.opendj.impl.Activator.initializeEmbeddedServer(Activator.java:187)
              at org.forgerock.openidm.repo.opendj.impl.Activator.start(Activator.java:92)
              at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
              at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)
              ... 4 more
      
      -> May 02, 2017 10:09:10 AM org.forgerock.openidm.info.impl.HealthService$4 run
      SEVERE: OpenIDM failure during startup, ACTIVE_NOT_READY: Not all modules started [] [org.forgerock.openidm.repo-opendj] []
      

      If I then attempt to browse to the IDM admin login page, I get a popup requesting login to the Felix console.

        Attachments

          Activity

            People

            • Assignee:
              brmiller Brendan Miller
              Reporter:
              GErickson Garyl Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: