java.util.concurrent.RejectedExecutionException when running Planner in RHDM

Solution Unverified - Updated -

Issue

  • I get the following exception when running Planner in RHDM kie-server
17:57:58,325 ERROR [org.kie.server.services.optaplanner.SolverServiceBase] (default task-14) Error retrieving solver 'solver-5' state from container 'optacloud_1.0.0-SNAPSHOT': java.util.concurrent.RejectedExecutionException: Task org.kie.server.services.optaplanner.SolverServiceBase$$Lambda$1421/2072964494@50eb0e2 rejected from java.util.concurrent.ThreadPoolExecutor@7babc31[Running, pool size = 2, active threads = 2, queued tasks = 2, completed tasks = 15]
    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
    at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
    at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
    at org.kie.server.services.optaplanner.SolverServiceBase.solvePlanningProblem(SolverServiceBase.java:483)
    at org.kie.server.services.optaplanner.SolverServiceBase.solvePlanningProblem(SolverServiceBase.java:213)
    at org.kie.server.remote.rest.optaplanner.SolverResource.solvePlanningProblem(SolverResource.java:294)

Environment

  • Red Hat Decision Manager (RHDM)
    • 7.3
    • Business Optimizer (Planner)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content