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

With non-local project, after update to 4.5.0 OpenIDM startup fails to activate crypto module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.5.0
    • Fix Version/s: OpenIDM 5.0.0
    • Component/s: _Update
    • Environment:
      4.0.0-1 (build 9), 4.0.0-2 (build 13), 4.5.0-RC8

      Description

      When starting OpenIDM with non local project, like:

      ./startup.sh -p /root/production
      

      When we update from 4.0.0 to 4.5.0, then once the update is done, when OpenIDM restarts, error on Crypto shows up in console:

      SEVERE: Bundle: org.forgerock.openidm.crypto [8] FrameworkEvent ERROR
      org.apache.felix.log.LogException: org.osgi.framework.BundleException: Activator start error in bundle org.forgerock.openidm.crypto [8].
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2196)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.sun.crypto.provider.JceKeyStore.engineGetKey(JceKeyStore.java:110)
      	at java.security.KeyStore.getKey(KeyStore.java:1023)
      	at org.forgerock.openidm.crypto.impl.CryptoServiceImpl.activate(CryptoServiceImpl.java:156)
      	at org.forgerock.openidm.crypto.impl.Activator.start(Activator.java:50)
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2146)
      	... 4 more
      -> Jul 12, 2016 4:44:18 PM org.forgerock.openidm.info.impl.HealthService$4 run
      SEVERE: OpenIDM failure during startup, ACTIVE_NOT_READY: Not all modules started [] [org.forgerock.openidm.crypto] []
      

      Notes:

      • this did not happen with RC7
      • this does not happen with default project

        Attachments

          Activity

            People

            • Assignee:
              jbranch Jon Branch
              Reporter:
              laurent.bristiel Laurent Bristiel
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: