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

Asynchronous reconciliation not working on Linux with Java8

    Details

      Description

      On Linux Centos, Java8, async recon is not working and raises a 500 error.

      The feature is described there: http://openidm.forgerock.org/doc/bootstrap/integrators-guide/index.html#asynchronous-reconciliation

      This works well with Java6 and Java7, but with Java8, it fails.
      Steps to reproduce:
      1) launch OpenIDM with sample1
      2) launch "create" action with async recon:

      curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request POST "http://localhost:8080/openidm/sync?_action=performAction&sourceId=bjensen&mapping=systemXmlfileAccounts_managedUser&waitForCompletion=true&action=CREATE"
      {"code":500,"reason":"Internal Server Error","message":"Internal Server Error"}
      

      3) in the log we get a stack trace:

      WARNING: Resource exception: 500 Internal Server Error: "Internal Server Error"
      org.forgerock.json.resource.InternalServerErrorException: Internal Server Error
      	at org.forgerock.json.resource.ResourceException.getException(ResourceException.java:221)
      	at org.forgerock.openidm.util.ResourceUtil.adapt(ResourceUtil.java:187)
      	at org.forgerock.openidm.sync.impl.SynchronizationService.actionInstance(SynchronizationService.java:420)
      	at org.forgerock.json.resource.Resources$SingletonHandler.handleAction(Resources.java:513)
      	at org.forgerock.json.resource.Router.handleAction(Router.java:208)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:57)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterAction(Filters.java:52)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:55)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterAction(Filters.java:52)
      (...)
      

      Notes:
      1) Java8 is not yet a supported platform for OpenIDM, but it will be one day so we should try to identity the problems as soon as possible.
      2) we don't reproduce the problem on Mac.

        Attachments

          Activity

            People

            • Assignee:
              jim.mitchener Jim Mitchener
              Reporter:
              laurent.bristiel Laurent Bristiel [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: