search cancel

Identity Manager / Wildfly Cluster Replication broken

book

Article ID: 201153

calendar_today

Updated On:

Products

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

Issue/Introduction

Identity Manager deployed in Wildfly Cluster. In the log, we see cluster related errors

WARN  [org.hornetq.core.server] (ServerService Thread Pool -- 61) HQ222116: unable to start broadcast group idm-prod-bg-group1: java.lang.IllegalStateException: channel is closed
...
WARN  [org.hornetq.core.server] (ServerService Thread Pool -- 61) HQ222117: unable to start cluster connection idm-prod-cluster: HornetQInternalErrorException[errorType=INTERNAL_ERROR message=HQ119004: Failed to initialise session factory]
..
Caused by: java.lang.IllegalStateException: channel is closed

Cause

This is due to known defect in HornetQ

https://issues.redhat.com/browse/HORNETQ-1489

Environment

Release : 14.x

Component : IdentityMinder(Identity Manager)

Resolution

There are two options for avoiding this error:

1. Update standalone-full-ha.xml and configure both main and default HornetQ servers to have

<shared-store>true</shared-store>

No other store related changes are required.

2. Upgrade the application server to a newer release which contains the fix (on Artemis level). Wildfly 15.x and JBoss EAP 7.2