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

Hazelcast instance not active error occurs and Mashup fails

SA-98109

Summary



When implementing Pega Web Mashup using a standard user ID (such as, mashupuser), Hazelcast instance not active error occurs and the Mashup fails.


Error Messages



Error 1:

The message exceeds recommended size of 8000 (Size: 2846021). Topic: YOUR-DATA-ADMIN-OPERATOR-ID. Start of message: Class:Data-Admin-Operator-ID, Type:null, Context:{"StandardAttributes":{"OperatorID":"mashupuser","N...

Error 2:

com.pega.pegarules.priv.presence.PresenceRuntimeException: replace(): Presence Record update operation failed. Exceeded maximum attempts.Arguments:Operator:mashupuser,Tenant:shared,CustomCategory:null
at com.pega.pegarules.cluster.internal.presence.PresenceDataGridHazelcast.handleIfMaxAttemptsExceeded(PresenceDataGridHazelcast.java:212)
at com.pega.pegarules.cluster.internal.presence.PresenceDataGridHazelcast.replace(PresenceDataGridHazelcast.java:196)
at com.pega.pegarules.session.internal.presence.PresenceDataProcessorImpl.updateSession(PresenceDataProcessorImpl.java:242)
at com.pega.pegarules.session.internal.presence.PresenceLifeCycleEventManager.updateSession(PresenceLifeCycleEventManager.java:241)
at com.pega.pegarules.session.internal.presence.PresenceStandardLifeCycleListener.onEvent(PresenceStandardLifeCycleListener.java:52)
at com.pega.bushe.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:629)


Error 3:

com.pega.bushe.event.ThreadSafeEventService handleException
WARNING: Exception thrown by;EventService subscriber:com.pega.pegarules.session.internal.presence.PresenceStandardLifeCycleListener@5f6e04d.  Subscriber class:class com.pega.pegarules.session.internal.presence.PresenceStandardLifeCycleListener
com.pega.bushe.exception.SwingException: com.pega.pegarules.session.external.requestor.RequestorLifeCycleEvent, event=com.pega.pegarules.session.external.requestor.RequestorLifeCycleEvent@8da23d1c, topic=null, eventObj=null
...
Caused by: java.lang.OutOfMemoryError: Java heap space
    at com.hazelcast.internal.serialization.impl.ByteArrayObjectDataOutput.ensureAvailable(ByteArrayObjectDataOutput.java:364)
...
    at com.hazelcast.map.impl.proxy.MapProxyImpl.replace(MapProxyImpl.java:174)
    at com.pega.pegarules.cluster.internal.presence.PresenceDataGridHazelcast.replace(PresenceDataGridHazelcast.java:191)



Steps to Reproduce



Implement Pega Web Mashup using a single user with operator Presence enabled.


Root Cause



A defect in Pegasystems’ code or rules.
The OutOfMemory error occurred because a single bulky operator Presence record failed to obtain a contiguous block of heap.



Resolution



Perform the following local-change:
  1. Set a Dynamic System Settings (DSS) through the Pega Designer Studio,

    Pega-Engine (Owning Ruleset)
    "prconfig/operatorpresence/enabled/default"
    value=false

     
  2. Restart the cluster.

Published January 14, 2020 - 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