KB Article #192340

UniqueMessageAttributesReporter - Maximum number of stored message attributes has been reached

Problem

On startup of B2Bi, this warning may appear:
INFO [UniqueMessageAttributesReporter] (UniqueMessageAttributesReporter) - Unique Message Attributes Reporter Singleton Starting
WARN [UniqueMessageAttributesReporter] (UniqueMessageAttributesReporter) - Maximum number of stored message attributes has been reached.


This warning is in reference to the uniqueMsgAttributes.maxNumberOfGatherAttributes system property. By default this value is set to 500 and is used for storing the message attributes available for searching in Message Tracker. The total searchable message attributes are listed in the MessageDistinctInfo table, if this table is larger than 500 (or the uniqueMsgAttributes.maxNumberOfGatherAttributes system property) then this warning will appear.


Resolution

Increase the uniqueMsgAttributes.maxNumberOfGatherAttributes system property via three distinct methods:
1. On Message Tracker > “Configure global message tracker settings” the section ‘Collect attributes for use in message detail pop-up windows’ can be increased.
2. Add in the Interchange/conf/tuning.properties file uniqueMsgAttributes.maxNumberOfGatherAttributes=<value>
3. On the https://B2Bi:6443/ui/core/SystemProperties page add this value. It will not appear in the list but will be taken and saved into the SystemProperties table in the database.