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

OpenIDM 5.5.1.0 failure during startup with embedded opendj repo and with no trustore configuration.

    Details

      Description

      Issue is reproducible since OpenIDM 5.5.1.0-RC1 and only embedded opendj repo is affected. With JDBC repo it works as expected.

       

      Steps to reproduce:

      1. unzip openidm-5.5.1.0-RCx.zip 
      2. remove all 'openidm.truststore' entries in boot.properties (keystore configuration should be used in this case - -OPENIDM-6937-)
      3. start OpenIDM with default repo (embedded opendj repo)

      Expected result: OpenIDM starts correctly.

      Actual result: OpenIDM failure during startup. Please look at below for stacttrace.

       

      Executing ./startup.sh...
      Using OPENIDM_HOME: /home/kuba/Documents/idm5510/rc4/openidm
      Using PROJECT_HOME: /home/kuba/Documents/idm5510/rc4/openidm
      Using OPENIDM_OPTS: -Xmx1024m -Xms1024m
      Using LOGGING_CONFIG: -Djava.util.logging.config.file=/home/kuba/Documents/idm5510/rc4/openidm/conf/logging.properties
      May 31, 2018 8:05:47 PM org.forgerock.i18n.slf4j.LocalizedLogger error
      SEVERE: The key with alias '[server-cert]' was not found for 'Administration Connector'. Verify that the keystore is properly configured
      May 31, 2018 8:05:47 PM org.forgerock.i18n.slf4j.LocalizedLogger warn
      WARNING: Disabling Administration Connector
      java.net.SocketException: Socket Closed
      at java.net.AbstractPlainSocketImpl.setOption(AbstractPlainSocketImpl.java:212)
      at java.net.Socket.setSoTimeout(Socket.java:1141)
      at sun.security.ssl.BaseSSLSocketImpl.setSoTimeout(BaseSSLSocketImpl.java:631)
      at sun.security.ssl.SSLSocketImpl.setSoTimeout(SSLSocketImpl.java:2565)
      at org.opends.server.tools.LDAPConnection.connectToHost(LDAPConnection.java:320)
      at org.opends.server.util.cli.LDAPConnectionArgumentParser.connect(LDAPConnectionArgumentParser.java:260)
      at org.opends.server.util.cli.LDAPConnectionArgumentParser.connect(LDAPConnectionArgumentParser.java:185)
      at org.opends.server.util.cli.LDAPConnectionArgumentParser.connect(LDAPConnectionArgumentParser.java:89)
      at org.opends.server.tools.tasks.TaskTool.process(TaskTool.java:230)
      at org.opends.server.tools.ImportLdif.process(ImportLdif.java:238)
      at org.opends.server.tools.ImportLdif.mainImportLdif(ImportLdif.java:117)
      at org.forgerock.opendj.server.embedded.EmbeddedDirectoryServer.importLDIF(EmbeddedDirectoryServer.java:314)
      at org.forgerock.openidm.repo.opendj.impl.Activator.setupEmbeddedServer(Activator.java:529)
      at org.forgerock.openidm.repo.opendj.impl.Activator.initializeEmbeddedServer(Activator.java:348)
      at org.forgerock.openidm.repo.opendj.impl.Activator.start(Activator.java:161)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)
      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)
      May 31, 2018 8:05:48 PM org.forgerock.openidm.logging.LogServiceTracker logEntry
      SEVERE: Bundle: org.forgerock.openidm.repo-opendj [10] FrameworkEvent ERROR
      org.apache.felix.log.LogException: org.osgi.framework.BundleException: Activator start error in bundle org.forgerock.openidm.repo-opendj [10].
      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/kuba/Documents/idm5510/rc4/openidm/db/opendj/scripts/populate_users.ldif' into embedded server with server root '/home/kuba/Documents/idm5510/rc4/openidm/db/openidm/opendj'. Error code is: 1
      at org.forgerock.opendj.server.embedded.EmbeddedDirectoryServer.importLDIF(EmbeddedDirectoryServer.java:319)
      at org.forgerock.openidm.repo.opendj.impl.Activator.setupEmbeddedServer(Activator.java:529)
      at org.forgerock.openidm.repo.opendj.impl.Activator.initializeEmbeddedServer(Activator.java:348)
      at org.forgerock.openidm.repo.opendj.impl.Activator.start(Activator.java:161)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)
      ... 4 more
      
      -> May 31, 2018 8:06:37 PM 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] []
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt [X] (Inactive)
                Reporter:
                jakub.janoska Jakub Janoska [X] (Inactive)
                QA Assignee:
                Jakub Janoska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: