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

Scripted CREST connector may fail with a 500 error on Create request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Expired
    • Affects Version/s: OpenIDM 4.5.0
    • Fix Version/s: OpenIDM 5.0.0
    • Component/s: Performance
    • Labels:
    • Environment:
      OpenIDM: 4.5.0 (revision: 2b8d258) with MySQL as repo @ CentOS + OpenDJ 2.6.4

      Description

      request
      PUT http://crabotin.internal.forgerock.com:8081/openidm/system/scriptedcrest/users/ditl405021
      headers=
      X-OpenIDM-Password: openidm-admin
      Connection: close
      X-OpenIDM-Username: openidm-admin
      Accept: application/json
      Content-Type: application/json
      If-None-Match: *
      User-Agent: Robot/Gatling
      Content-Length: 397
      Host: crabotin.internal.forgerock.com:8081
      compositeByteData={
                  "name": {
                      "familyName": "Adamo",
                      "givenName" : "Adena"
                  },
                  "contactInformation": {
                      "emailAddress" : "ditl405021@example.com",
                      "telephoneNumber" : "444-444-4444"
                  },
                  "password" : "Passw0rd",
                  "displayName" : "Adamo.Adena",
                  "_id" : "ditl405021"
            }
      
      response
      status=500 Server Error
      headers=
      Date: Tue, 04 Oct 2016 23:23:10 GMT
      Cache-Control: no-cache
      Content-Type: application/json; charset=UTF-8
      Set-Cookie: session-jwt=eyJ0eXAiOiJKV1QiLCJjdHkiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ZXlKMGVYQWlPaUpLVjFRaUxDSmxibU1pT2lKQk1USTRRMEpETFVoVE1qVTJJaXdpWVd4bklqb2lVbE5CTVY4MUluMC5uWnZza2dJU0xWeVpJXy1rNVNPYUJndmM3LTlvdG5tYUd4SENjRVp1OVJPbG1JaHF3NjhpbGY2N3QxdlBwNEVCWURUUlJJN3ljQUd5LXQ0Z3ZnUkJzSUVVZnRnZUxBcXJOazd1cEpRMjE4bUx0d2dwMm5Jb1Q4NmR0MjNzX1JDRlNwd3p6VEljU1d3YzNKX3FqREQ1d0k2UDd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zwYF9gwk1-Csz-YEN9IyNdAISAiGmxs569AziK3Sg; Path=/
      Connection: close
      
      body=
      {
        "code":500,
        "reason":"Internal Server Error",
        "message":"Operation CREATE failed with ConnectorException on system object: ditl405021"
      }
      

      This event was followed with a CPU spike.

      IDM log attached.

        Attachments

        1. disk.svg
          23 kB
        2. idmrestusers.csv
          10.00 MB
        3. memory.svg
          21 kB
        4. openidm0.log.0
          84 kB

          Activity

            People

            Assignee:
            cgdrake Chris Drake
            Reporter:
            tomas.hejret Tomas Hejret
            QA Assignee:
            Tomas Hejret Tomas Hejret
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: