search cancel

IDM ActiveMQ warnings on JBoss 7.2

book

Article ID: 201835

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

Under CA IDM 14.3 cluster on JBoss 7.2 app servers. Getting below warning in server logs.

12:24:43,332 WARN  [org.apache.activemq.artemis.core.server] (Thread-16 (ActiveMQ-client-global-threads)) AMQ224078: The size of duplicate cache detection (<id_cache-size/>) appears to be too large 20,000. It should be no greater than the number of messages that can be squeezed into conformation buffer (<confirmation-window-size/>) 32,000.

Cause

The current default id-cache-size parameter is too high for clustered environments, which needs to be lowered. It is recommended to lower the id-cache-size to 2000 or to an adequate figure based on the message weight. The WARN message in question was added to notify users to change the default confirmation-window-size and default id-cache-size attributes in clustered environments to cater to their deployments. The id-cache-size and confirmation-window-size attributes are required to configure taking the average message weight into an account. The default confirmation-window-size in the cluster connection is 1048576 bytes (1MB).

Environment

Release : 14.3

Component : IdentityMinder(Identity Manager)

Resolution

Modify or Add the following in standalone-full-ha.xml and restart the nodes 

<subsystem xmlns="urn:jboss:domain:messaging-activemq:4.0">          

            <server name="default" persistence-enabled="true" id-cache-size="2000">          

Add  id-cache-size="2000"

for all occurrences of confirmation-window-size= set the value to "1048576"