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

sample6 with fake AD broken since we moved from OpenICF 1.4.1.0-RC1 to 1.4.1.0

    XMLWordPrintable

    Details

      Description

      sample6 using fake AD stopped working after commit:
      http://sources.forgerock.org/changelog/openidm?cs=4375
      "Update the OpenICF versions"

      So, when we set up sample6 to use fake AD, the AD resource is not available.
      For example:

      curl --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request GET "http://localhost:8080/openidm/system/ad/account/?_queryId=query-all-ids"
      {"code":500,"reason":"Internal Server Error","message":"java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject"
      

      and in the log we get:

      WARNING: Resource exception: 500 Internal Server Error: "java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject"
      org.forgerock.json.resource.InternalServerErrorException: java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject
      	at org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService$ObjectClassResourceProvider.queryCollection(OpenICFProvisionerService.java:1495)
      	at org.forgerock.json.resource.Resources$CollectionHandler.handleQuery(Resources.java:254)
      	at org.forgerock.json.resource.Router.handleQuery(Router.java:264)
      

      => problem in samples/sample6/alternatives/provisioner.openicf-fakead.json file?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              laszlo Laszlo Hordos
              Reporter:
              laurent.bristiel Laurent Bristiel [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: