Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

PresenceDataGridHazelcast exception occurs and threads hang

SA-69837

Summary



PresenceDataGridHazelcast exception occurs and threads hang on the server.


Error Messages



"http-nio-xx.xx.xx.xx-8080-exec-19" - Thread t@191     java.lang.Thread.State: TIMED_WAITING 
        at java.lang.Object.wait(Native Method) 
        - waiting on <35dba713> (a com.hazelcast.spi.impl.BasicInvocationFuture
        at com.hazelcast.spi.impl.BasicInvocationFuture.pollResponse(BasicInvocationFuture.java:265) 
        at com.hazelcast.spi.impl.BasicInvocationFuture.waitForResponse(BasicInvocationFuture.java:216) 
        at com.hazelcast.spi.impl.BasicInvocationFuture.get(BasicInvocationFuture.java:193) 
        at com.hazelcast.spi.impl.BasicInvocationFuture.get(BasicInvocationFuture.java:173) 
        at com.hazelcast.spi.impl.BasicInvocationFuture.getSafely(BasicInvocationFuture.java:185) 
        at com.hazelcast.concurrent.lock.LockProxySupport.lock(LockProxySupport.java:79) 
        at com.hazelcast.concurrent.lock.LockProxySupport.lock(LockProxySupport.java:73) 
        at com.hazelcast.map.impl.proxy.MapProxyImpl.lock(MapProxyImpl.java:256) 
        at com.pega.pegarules.cluster.internal.presence.PresenceDataGridHazelcast.lock(PresenceDataGridHazelcast.java:83) 
        at com.pega.pegarules.cluster.internal.presence.PresenceDataGridHazelcast.replace(PresenceDataGridHazelcast.java:169) 
        at com.pega.pegarules.session.internal.presence.PresenceDataProcessorImpl.addSession(PresenceDataProcessorImpl.java:123) 
        at com.pega.pegarules.session.internal.presence.PresenceStandardLifeCycleListener.onEvent(PresenceStandardLifeCycleListener.java:47) 
        at com.pega.bushe.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:629) 
        at com.pega.bushe.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:540) 
        at com.pega.bushe.event.EventBus.publish(EventBus.java:60) 
        at com.pega.pegarules.session.internal.mgmt.authentication.Authentication.firePresenceEvent(Authentication.java:1875) 
        at com.pega.pegarules.session.internal.mgmt.authentication.Authentication.doAuthentication(Authentication.java:657) 
        at com.pega.pegarules.session.internal.engineinterface.service.HTTPAuthenticationHandler.performAuthentication(HTTPAuthenticationHandler.java:247) 
        at com.pega.pegarules.session.internal.engineinterface.service.HTTPAuthenticationHandler.doHttpReqAuthentication(HTTPAuthenticationHandler.java:136) 
        at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.handleAuthentication(HttpAPI.java:2128) 
        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:550) 
        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:389) 
        at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
        at java.lang.reflect.Method.invoke(Method.java:498) 
        at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1297) 
        at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034) 
        at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:889) 
        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331) 
        at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:829) 
        at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) 
        at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) 
        at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) 
        at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) 
        at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) 
        at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:589) 
        at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:378) 
        at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
        at java.lang.reflect.Method.invoke(Method.java:498)



Steps to Reproduce



Unknown


Root Cause



A defect in Pegasystems’ code or rules.


Resolution



Perform the following local-change:
  1. Disable the Operator Presence facility.

    Purpose:prconfig/operatorpresence/enabled/default
    Owning ruleset:Pega-Engine
    Value: False

     
  2. Additionally, apply HFix-36906 (to alter the behavior with regard to Hazelcast timeout handling).

Published December 28, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us