JGroups FILE_PING property unrecognized after upgrading from EAP 7.1 to 7.2

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2.x
  • JGroups
    • 4.0.15.Final

Issue

  • We have migrated from JBoss EAP 7.1.2 to EAP 7.2.0. After migration we have started the JBoss service and observed boot errors in the JBoss console. Please find below the errors.

      Failure Description: {"WFLYCTL0080: Failed services" => {"org.wildfly.clustering.jgroups.channel.ee" => "java.lang.IllegalStateException: java.lang.IllegalArgumentException: java.security.PrivilegedActionException: java.lang.IllegalArgumentException: Unrecognized AZURE_PING properties: [remove_all_files_on_view_change]
        Caused by: java.lang.IllegalStateException: java.lang.IllegalArgumentException: java.security.PrivilegedActionException: java.lang.IllegalArgumentException: Unrecognized AZURE_PING properties: [remove_all_files_on_view_change]
        Caused by: java.lang.IllegalArgumentException: java.security.PrivilegedActionException: java.lang.IllegalArgumentException: Unrecognized AZURE_PING properties: [remove_all_files_on_view_change]
        Caused by: java.security.PrivilegedActionException: java.lang.IllegalArgumentException: Unrecognized AZURE_PING properties: [remove_all_files_on_view_change]
    

Resolution

That property is deprecated. Replace it with the new one. For example:

<protocol type="azure.AZURE_PING" module="org.jgroups">
    <property name="storage_account_name">
        ${jboss.jgroups.azure_ping.storage_account_name}
    </property>
    <property name="storage_access_key">
        ${jboss.jgroups.azure_ping.storage_access_key}
    </property>
    <property name="container">
        ${jboss.jgroups.azure_ping.container}
    </property>
    <property name="remove_all_data_on_view_change">
        true
    </property>
</protocol>

Root Cause

The AZURE_PING extends from FILE_PING that owns the property.

The remove_all_files_on_view_change was marked as deprecated in EAP 7.1.x (JGroups 3.6.13.Final) and renamed to remove_all_data_on_view_change in EAP 7.2.x (4.0.15.Final) onwards.

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.