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

Unexpected IllegalStateException at CTSWorkerConnection.nextPage when running authn load

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: authentication, CTS, performance
    • Labels:
    • Environment:
      OpenAM 14.0.0-SNAPSHOT Build 0f298ef221 (2016-November-08 01:38)

      Description

      See OPENAM-9987
      Running some authn load we get unexpected errors in CoreSystem debug log, like the following one:

      amThreadManager:11/10/2016 10:55:34:468 AM CET: Thread[amThreadManager-34,5,main]: TransactionId[688c22d0-fae8-479c-a7dc-849d7f9caae5-0]
      ERROR: ThreadMonitor: Thread WatchDog detected error, restarting
      java.util.concurrent.ExecutionException: java.lang.IllegalStateException
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      	at org.forgerock.openam.shared.concurrency.ThreadMonitor$WatchDog.run(ThreadMonitor.java:231)
      	at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException
      	at org.forgerock.openam.cts.impl.query.worker.CTSWorkerConnection.nextPage(CTSWorkerConnection.java:75)
      	at org.forgerock.openam.cts.worker.process.CTSWorkerBaseProcess.handle(CTSWorkerBaseProcess.java:47)
      	at org.forgerock.openam.cts.worker.CTSWorkerTask.run(CTSWorkerTask.java:51)
      	at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	... 3 more
      

        Attachments

          Activity

            People

            • Assignee:
              craig.mcdonnell Craig McDonnell
              Reporter:
              sberthol Sebastien Bertholet [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: