NoEndpointFoundException happens at kieService client side after executing rules too many times

Solution In Progress - Updated -

Issue

Rules are executed on kie-server via REST API from KieServicesClient running with Fuse.
After repeating rule execution too many times, response is getting slow and results in failure with the exception like the following.

17:23:23.711 [qtp963138052-37] ERROR ExceptionRoute - *** exception.stacktrace *** : org.kie.server.common.rest.NoEndpointFoundException: No available endpoints found
    at org.kie.server.client.balancer.impl.AbstractBalancerStrategy.checkEmpty(AbstractBalancerStrategy.java:27)
    at org.kie.server.client.balancer.impl.RoundRobinBalancerStrategy.next(RoundRobinBalancerStrategy.java:37)
    at org.kie.server.client.balancer.LoadBalancer.getUrl(LoadBalancer.java:52)
    at org.kie.server.client.impl.AbstractKieServicesClientImpl.invoke(AbstractKieServicesClientImpl.java:809)
    at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpGetRequestAndCreateServiceResponse(AbstractKieServicesClientImpl.java:177)
    at org.kie.server.client.impl.KieServicesClientImpl.getServerInfo(KieServicesClientImpl.java:157)
    at org.kie.server.client.impl.KieServicesClientImpl.getCapabilitiesFromServer(KieServicesClientImpl.java:130)
    at org.kie.server.client.impl.KieServicesClientImpl.init(KieServicesClientImpl.java:85)
    at org.kie.server.client.impl.KieServicesClientImpl.<init>(KieServicesClientImpl.java:72)
    at org.kie.server.client.KieServicesFactory.newKieServicesClient(KieServicesFactory.java:101)
   ...

What is a cause of this problem and how should it be solved?

Environment

  • Red Hat Decision Manager
    • 7.2.1
  • OpenShift
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In