Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-1246

More than 5 referral policies under a realm would hang PrivilegeEvaluator

    XMLWordPrintable

    Details

    • Rank:
      1|hzn8wf:

      Description

      • recreation steps *
        1. login to admin console
        2. create 6 referral policies for subrealms under default realm
        3. create actual policies under subrealms
        4. access protected URL via Policy Agent
        4-repro.
        PA will timeout waiting for evaluation result

      If you take jstack, PolicyEvaluator is stuck waiting for evaluation result:
      "http-18080-1" daemon prio=5 tid=10e860000 nid=0x10fbe0000 waiting on condition [10fbde000]
      java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)

      • parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
        at com.sun.identity.entitlement.PrivilegeEvaluator.receiveEvalResults(PrivilegeEvaluator.java:386)
        at com.sun.identity.entitlement.PrivilegeEvaluator.evaluate(PrivilegeEvaluator.java:353)
        at com.sun.identity.entitlement.PrivilegeEvaluator.evaluate(PrivilegeEvaluator.java:263)
        at com.sun.identity.entitlement.Evaluator.evaluate(Evaluator.java:180)
        at com.sun.identity.policy.PolicyEvaluator.getResourceResultsE(PolicyEvaluator.java:1459)
        at com.sun.identity.policy.PolicyEvaluator.getResourceResults(PolicyEvaluator.java:1392)
        at com.sun.identity.policy.remote.PolicyRequestHandler.processPolicyRequest(PolicyRequestHandler.java:420)
        at com.sun.identity.policy.remote.PolicyRequestHandler.processPolicyServiceRequest(PolicyRequestHandler.java:229)
        at com.sun.identity.policy.remote.PolicyRequestHandler.processRequest(PolicyRequestHandler.java:184)
        at com.sun.identity.policy.remote.PolicyRequestHandler.process(PolicyRequestHandler.java:126)
        at com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:180)
        at com.iplanet.services.comm.server.PLLRequestServlet.doPost(PLLRequestServlet.java:134)

        Attachments

          Issue Links

            Activity

              People

              sachiko Sachiko Wallace
              sachiko Sachiko Wallace
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: