Support Article

Getting StaleRequestorError error in log

SA-28247

Summary



User gets StaleRequestorError error repeatedly in log for Stateful Rest service with Pega 7.1.5.

Error Messages



2016-09-05 11:15:12,792 [] [  STANDARD] [                    ] (  internal.services.ServiceAPI) ERROR l - Rest service [] failed: Application requestor: A1AD5E0175AB14B2F8F1F6C3337AB0E24 cannot be recreated:com.pega.pegarules.pub.context.StaleRequestorError: Application requestor: A1AD5E0175AB14B2F8F1F6C3337AB0E24 cannot be recreated
        at com.pega.pegarules.session.internal.mgmt.base.NodeRequestorMgt.recreateRequestor(NodeRequestorMgt.java:1496)
        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.establishRequestor(EngineAPI.java:733)
        at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.findRequestor(ServiceAPI.java:1170)
        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:342)
        at com.pega.pegarules.integration.engine.internal.services.http.HTTPService.invoke(HTTPService.java:413)
        at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
        at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
        at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
        at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:419)
        at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:460)

Steps to Reproduce



1. Create a HTTP statuful service.
2. Invoke it from Node-UI or rest client to create a page (of any concrete data class) and add some property.
3. Wait till the requestor is timed out.
4. Make sure the page is saved in Database/class of the page.
5. Re-submit the request.

Root Cause



Persisted Application requestors are not getting activated.


Resolution



Apply HFix-29503 to resolve the issue.

Published September 21, 2016 - Updated October 6, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.