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

IDM 6.0.0.5 doesn't start with embedded DJ and explicit table.

    XMLWordPrintable

    Details

      Description

      It looks like, this issue is introduced by this commit: https://stash.forgerock.org/projects/OPENIDM/repos/openidm/pull-requests/4959/commits/dd3a00038b00d15d90cef8c9009d67c6910c49f7 If I revert  it, IDM starts successfully with embedded DJ with explicit table.

      Steps to reproduce:

      1. Configure IDM with embedded DJ with explicit table - https://backstage.forgerock.com/docs/idm/6/integrators-guide/index.html#explicit-mappings-ds
      2. Start IDM

      Expected result: IDM starts successfully.

      Actual result: IDM doesn't star. Please look at below to the stacktrace.

      Stacktrace:

      jakub@jakub-linux:~/Documents/6005/openidm$ ./startup.sh jakub@jakub-linux:~/Documents/6005/openidm$ ./startup.sh /usr/bin/javaExecuting ./startup.sh...Using OPENIDM_HOME:   /home/jakub/Documents/6005/openidmUsing PROJECT_HOME:   /home/jakub/Documents/6005/openidmUsing OPENIDM_OPTS:   -Xmx1024m -Xms1024mUsing LOGGING_CONFIG: -Djava.util.logging.config.file=/home/jakub/Documents/6005/openidm/conf/logging.properties[19] Apr 26, 2019 12:19:00.682 PM org.forgerock.i18n.slf4j.LocalizedLogger warnWARNING: The config schema file 'openidm.ldif' generated warning when trying to update schema with its content: [Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.24 NAME 'fr-idm-cluster-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchClusterObject ORDERING caseIgnoreOrderingMatch   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The definition for the attribute type "fr-idm-cluster-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchClusterObject" which is not defined in the schema, Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.25 NAME 'fr-idm-managed-role-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchManagedRole ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-managed-role-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchManagedRole" which is not defined in the schema, Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.26 NAME 'fr-idm-relationship-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchRelationship ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-relationship-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchRelationship" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.8 NAME 'fr-idm-cluster-obj' SUP top STRUCTURAL   MUST ( fr-idm-cluster-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-cluster-obj" specifies the required attribute type "fr-idm-cluster-json" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.9 NAME 'fr-idm-managed-role' SUP top STRUCTURAL   MUST ( fr-idm-managed-role-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-managed-role" specifies the required attribute type "fr-idm-managed-role-json" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.10 NAME 'fr-idm-relationship' SUP top STRUCTURAL   MUST ( fr-idm-relationship-json )   X-ORIGIN 'OpenIDM DsSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-relationship" specifies the required attribute type "fr-idm-relationship-json" which is not defined in the schema][19] Apr 26, 2019 12:19:00.693 PM org.forgerock.i18n.slf4j.LocalizedLogger errorSEVERE: The config schema file 'openidm.ldif' generated warning when trying to update schema with its content, despite allowing to overwrite definitions: [Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.24 NAME 'fr-idm-cluster-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchClusterObject ORDERING caseIgnoreOrderingMatch   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The definition for the attribute type "fr-idm-cluster-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchClusterObject" which is not defined in the schema, Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.25 NAME 'fr-idm-managed-role-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchManagedRole ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-managed-role-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchManagedRole" which is not defined in the schema, Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.26 NAME 'fr-idm-relationship-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchRelationship ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-relationship-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchRelationship" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.8 NAME 'fr-idm-cluster-obj' SUP top STRUCTURAL   MUST ( fr-idm-cluster-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-cluster-obj" specifies the required attribute type "fr-idm-cluster-json" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.9 NAME 'fr-idm-managed-role' SUP top STRUCTURAL   MUST ( fr-idm-managed-role-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-managed-role" specifies the required attribute type "fr-idm-managed-role-json" which is not defined in the schema, Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.10 NAME 'fr-idm-relationship' SUP top STRUCTURAL   MUST ( fr-idm-relationship-json )   X-ORIGIN 'OpenIDM DsSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-relationship" specifies the required attribute type "fr-idm-relationship-json" which is not defined in the schema][44] Apr 26, 2019 12:19:00.703 PM org.forgerock.openidm.config.logging.LogServiceTracker logEntrySEVERE: Bundle: org.forgerock.openidm.repo-opendj [9] FrameworkEvent ERRORorg.apache.felix.log.LogException: org.osgi.framework.BundleException: Activator start error in bundle org.forgerock.openidm.repo-opendj [9]. 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 start the embedded server with server root '/home/jakub/Documents/6005/openidm/db/openidm/opendj' : ConfigException: Constraint Violation: There should be no warnings on the schema, but instead got 6 warnings: Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.24 NAME 'fr-idm-cluster-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchClusterObject ORDERING caseIgnoreOrderingMatch   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The definition for the attribute type "fr-idm-cluster-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchClusterObject" which is not defined in the schema; Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.25 NAME 'fr-idm-managed-role-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchManagedRole ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-managed-role-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchManagedRole" which is not defined in the schema; Validation of attribute type definition ( 1.3.6.1.4.1.36733.2.3.1.26 NAME 'fr-idm-relationship-json'   SYNTAX 1.3.6.1.4.1.36733.2.1.3.1 EQUALITY caseIgnoreJsonQueryMatchRelationship ORDERING caseIgnoreOrderingMatch SINGLE-VALUE X-ORIGIN 'OpenIDM DSRepoService') failed and will be removed from the schema: The definition for the attribute type "fr-idm-relationship-json" declared that equality matching should be performed using the matching rule "caseIgnoreJsonQueryMatchRelationship" which is not defined in the schema; Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.8 NAME 'fr-idm-cluster-obj' SUP top STRUCTURAL   MUST ( fr-idm-cluster-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-cluster-obj" specifies the required attribute type "fr-idm-cluster-json" which is not defined in the schema; Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.9 NAME 'fr-idm-managed-role' SUP top STRUCTURAL   MUST ( fr-idm-managed-role-json )   X-ORIGIN 'OpenIDM DSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-managed-role" specifies the required attribute type "fr-idm-managed-role-json" which is not defined in the schema; Validation of object class definition ( 1.3.6.1.4.1.36733.2.3.2.10 NAME 'fr-idm-relationship' SUP top STRUCTURAL   MUST ( fr-idm-relationship-json )   X-ORIGIN 'OpenIDM DsSRepoService' ) failed and will be removed from the schema: The object class "fr-idm-relationship" specifies the required attribute type "fr-idm-relationship-json" which is not defined in the schema (SchemaHandler.java:222 DirectoryServer.java:1430 DirectoryServer.java:1223 EmbeddedDirectoryServer.java:491 Activator.java:565 Activator.java:381 Activator.java:179 SecureAction.java:697 Felix.java:2226 Felix.java:2144 Felix.java:1371 FrameworkStartLevelImpl.java:308 Thread.java:748) at org.forgerock.opendj.server.embedded.EmbeddedDirectoryServer.start(EmbeddedDirectoryServer.java:493) at org.forgerock.openidm.repo.opendj.impl.Activator.setupEmbeddedServer(Activator.java:565) at org.forgerock.openidm.repo.opendj.impl.Activator.initializeEmbeddedServer(Activator.java:381) at org.forgerock.openidm.repo.opendj.impl.Activator.start(Activator.java:179) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) ... 4 more -> [852] Apr 26, 2019 12:19:51.275 PM org.forgerock.openidm.health.HealthService$4 runSEVERE: 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.bootrepo.(jdbc|ds), org.forgerock.openidm.cluster, org.forgerock.openidm.config.manage, org.forgerock.openidm.managed, org.forgerock.openidm.policy, org.forgerock.openidm.repo.(jdbc|ds), org.forgerock.openidm.scheduler, org.forgerock.openidm.script]
      

      Tested on OpenIDM version "6.0.0.5-SNAPSHOT" (build: 20190426005423, revision: ea8b415) jenkins-OpenIDM-build-sustaining%2F6.0.x-185.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              patrickdiligent patrick diligent
              Reporter:
              jakub.janoska Jakub Janoska [X] (Inactive)
              QA Assignee:
              Jakub Janoska [X] Jakub Janoska [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: