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

Resource managed/user randomly not available (404) on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Expired
    • Affects Version/s: OpenIDM 3.2.0
    • Fix Version/s: None
    • Component/s: Systemic Qualities
    • Labels:
      None
    • Environment:
      Windows 2008, OpenIDM r5493

      Description

      From time to time (randomly) I have some automated tests on Windows that fail with an error on GET request via the REST API on managed user.

      For example, for an authentication test, I create a new admin user (adm6) and try to retrieve the list of managed user with this admin user. Here is what I get:

      curl --header "X-OpenIDM-Password: Th3passw0rd" --header "X-OpenIDM-Username: adm6" --request GET "http://localhost:8080/openidm/managed/user/?_queryId=query-all-ids"
      Response Content: {"code":404,"reason":"Not Found","message":"Resource 'user' not found"}
      

      I recently changed this suite so that log level is FINE. So I attach a FINE level Log file to this jira, hoping this could help dev team to have an hint on the underlying issue. The last lines from the log show the failure:

      Jun 27, 2015 12:33:17 PM org.forgerock.openidm.audit.impl.AuditServiceImpl handleCreate
      FINE: Audit create called for access with {timestamp=2015-06-27T11:33:17.528Z, principal=adm6, status=SUCCESS, roles=[openidm-admin], userid=adm6, action=authenticate, ip=127.0.0.1}
      Jun 27, 2015 12:33:17 PM org.forgerock.openidm.audit.impl.AuditServiceImpl handleCreate
      FINE: Create audit entry for access/e5948c2a-4a64-4c43-b2d8-8500283cbeb9 with {timestamp=2015-06-27T11:33:17.528Z, principal=adm6, status=SUCCESS, roles=[openidm-admin], userid=adm6, action=authenticate, ip=127.0.0.1, _id=e5948c2a-4a64-4c43-b2d8-8500283cbeb9}
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: scope null||/openidm/managed/user/ @ HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@59370c7e}
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: RESPONSE /openidm/managed/user/  404 handled=true
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: Enabled read interest SCEP@32135371{l(/127.0.0.1:52271)<->r(/127.0.0.1:8080),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@12cb3966,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=4,c=0},r=1}
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: filled 0/0
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: ishut SCEP@32135371{l(/127.0.0.1:52271)<->r(/127.0.0.1:8080),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@12cb3966,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=-3},r=1}
      Jun 27, 2015 12:33:17 PM org.eclipse.jetty.util.log.JavaUtilLog debug
      FINE: filled -1/0
      

      Maybe some those, or some other lines of the log can be of any help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andi Andi Egloff
                Reporter:
                laurent.bristiel Laurent Bristiel [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: