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

IDM startup can be very slow with a DB2 repo

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: OpenIDM 6.0.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      OpenIDM master run with trailed production DB2 version 11
    • Target Version/s:

      Description

      When used IDM DB2 version 11 as repo, IDM startup can be very slow. The startup may take 3 minutes, 7 minutes or as long as 15 minutes for IDM to get to ready state. A startup sequence would be IDM got to ACTIVE_NOT_READY state after about 3-4 minutes, and then took a while(time varies) for IDM to finally get to ready state. Attached is an instance of IDM log file. scr list output indicates JDBC is enabled but not active;

      ./startup.sh 
      Executing ./startup.sh...
      Using OPENIDM_HOME:   /home/testuser/pyforge/results/latest/idm/CrudManUsers/openidm1/openidm
      Using PROJECT_HOME:   /home/testuser/pyforge/results/latest/idm/CrudManUsers/openidm1/openidm
      Using OPENIDM_OPTS:   -Xmx1024m -Xms1024m -Dopenidm.repo.host=localhost -Dopenidm.repo.port=50000
      Using LOGGING_CONFIG: -Djava.util.logging.config.file=/home/testuser/pyforge/results/latest/idm/CrudManUsers/openidm1/openidm/conf/logging.properties
      -> 
      -> scr list
       BundleId Component Name Default State
          Component Id State      PIDs (Factory PID)
       [   5]   org.forgerock.openidm.config.enhanced.starter  enabled
          [   1] [active      ] org.forgerock.openidm.config.enhanced.starter
       [   5]   org.forgerock.openidm.config.manage  enabled
          [   0] [unsatisfied reference] org.forgerock.openidm.config.manage
       [   9]   org.forgerock.openidm.datasource.jdbc  enabled
       [   9]   org.forgerock.openidm.repo.jdbc  enabled
       [  14]   org.forgerock.openidm.cluster  enabled
       [  16]   org.forgerock.openidm.http.context  enabled
          [   2] [unsatisfied reference] org.forgerock.openidm.http.context
       [  28]   org.forgerock.openidm.crypto  enabled
          [   4] [active      ] org.forgerock.openidm.crypto
       [  28]   org.forgerock.openidm.crypto.TokenHandlerService  enabled
          [   3] [active      ] org.forgerock.openidm.crypto.TokenHandlerService
       ...
       
       [ 209]   org.forgerock.openidm.servletfilter  enabled
       [ 209]   org.forgerock.openidm.servletfilter.registrator  enabled
          [  51] [unsatisfied reference] org.forgerock.openidm.servletfilter.registrator
       [ 213]   org.forgerock.openidm.jsonstore  enabled
       [ 214]   org.forgerock.openidm.schema  enabled
          [  52] [unsatisfied reference] org.forgerock.openidm.schema
       [ 215]   org.forgerock.openidm.consent  enabled
          [  53] [unsatisfied reference] org.forgerock.openidm.consent
       [ 221]   org.forgerock.openidm.identityProvider  enabled
       [ 221]   org.forgerock.openidm.identityProviders  enabled
          [  54] [active      ] org.forgerock.openidm.identityProviders
       [ 227]   org.forgerock.openidm.provisioner  enabled
          [  55] [active      ] org.forgerock.openidm.provisioner
       [ 232]   org.forgerock.openidm.script  enabled
          [  57] [active      ] org.forgerock.openidm.script
       [ 232]   org.forgerock.openidm.script.transform.ScriptedPatchValueTransformerFactory  enabled
          [  56] [active      ] org.forgerock.openidm.script.transform.ScriptedPatchValueTransformerFactory
       [ 235]   org.forgerock.openidm.metrics  enabled
          [  58] [active      ] org.forgerock.openidm.metrics
       [ 235]   org.forgerock.openidm.metrics.service  enabled
          [  59] [active      ] org.forgerock.openidm.metrics.service
       [ 235]   org.forgerock.openidm.metricsCollector  enabled
          [  60] [active      ] org.forgerock.openidm.metricsCollector
       [ 251]   org.forgerock.openidm.schedule  enabled
       [ 251]   org.forgerock.openidm.scheduler  enabled
       [ 251]   org.forgerock.openidm.taskscanner  enabled
          [  61] [active      ] org.forgerock.openidm.taskscanner
      -> 
      -> OpenIDM version "6.0.0-SNAPSHOT" (build: 20180411155711, revision: 3376770) jenkins-OpenIDM-build-master-97
      OpenIDM ready
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dhogan Dirk Hogan
                Reporter:
                Tinghua.Xu Tinghua.Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: