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

Backport OPENIDM-12154: An attempt to use external DS with explicit tables as a repo fails on missing fr-idm-lastPasswordSet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0.4
    • Fix Version/s: 6.0.0.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      master 6.5.0-SNAPSHOT build of 2018-11-14 22:50 of rev #b90b2ee

      Description

      After following Jason L's instructions to create a conf/repo.ds.json that works with an external DJ repo with explicit tables, I get an error in the console:

      $ cd /Users/garyl/sandbox/pyforge/results/latest/idm-setup/IDM_1/openidm
      $ ./startup.sh
      Executing ./startup.sh...
      Using OPENIDM_HOME:   /Users/garyl/sandbox/pyforge/results/latest/idm-setup/IDM_1/openidm
      Using PROJECT_HOME:   /Users/garyl/sandbox/pyforge/results/latest/idm-setup/IDM_1/openidm
      Using OPENIDM_OPTS:   -Xmx1024m -Xms1024m
      Using LOGGING_CONFIG: -Djava.util.logging.config.file=/Users/garyl/sandbox/pyforge/results/latest/idm-setup/IDM_1/openidm/conf/logging.properties
      [23] Nov 15, 2018 4:57:03.220 PM org.forgerock.openidm.config.logging.LogServiceTracker logEntry
      SEVERE: Bundle: org.forgerock.openidm.repo-opendj [9] FrameworkEvent ERROR
      org.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:2290)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.felix.log.LogException: org.forgerock.opendj.ldap.schema.UnknownSchemaElementException: No attribute type with name or OID "fr-idm-lastPasswordSet" exists in the schema
      	at org.forgerock.opendj.ldap.schema.Schema$StrictImpl.getAttributeType(Schema.java:493)
      	at org.forgerock.opendj.ldap.schema.Schema.getAttributeType(Schema.java:1050)
      	at org.forgerock.opendj.ldap.AttributeDescription$DefaultAttributeDescriptionFactory.newAttributeDescription(AttributeDescription.java:895)
      	at org.forgerock.opendj.ldap.AttributeDescription.valueOf0(AttributeDescription.java:999)
      	at org.forgerock.opendj.ldap.AttributeDescription.valueOf(AttributeDescription.java:825)
      	at org.forgerock.opendj.ldap.AttributeDescription.valueOf(AttributeDescription.java:790)
      	at org.forgerock.opendj.rest2ldap.Rest2Ldap.simple(Rest2Ldap.java:301)
      	at org.forgerock.opendj.rest2ldap.Rest2LdapJsonConfigurator.configurePropertyMapper(Rest2LdapJsonConfigurator.java:331)
      	at org.forgerock.opendj.rest2ldap.Rest2LdapJsonConfigurator.configureResource(Rest2LdapJsonConfigurator.java:271)
      	at org.forgerock.opendj.rest2ldap.Rest2LdapJsonConfigurator.configureResources(Rest2LdapJsonConfigurator.java:149)
      	at org.forgerock.openidm.repo.opendj.impl.Activator.initTypeHandlerService(Activator.java:258)
      	at org.forgerock.openidm.repo.opendj.impl.Activator.start(Activator.java:209)
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
      	... 4 more
      
      -> [104] Nov 15, 2018 4:57:51.606 PM org.forgerock.openidm.health.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:
              patrickdiligent patrick diligent
              Reporter:
              patrickdiligent patrick diligent
              QA Assignee:
              Michal Orlik Michal Orlik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: