EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with multiple nodes

Posted on

EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with two nodes (master & slave) in domain mode using full-ha profile.
HTTP Session replication is working fine. But in case of stateful session bean failover scenario it shows some errors. if all request is processed by one node without failover it works fine. When stateful session bean is invoked in master and if subsequent request is processed by slave it fails with following message
java.lang.IllegalStateException: EJBCLIENT000027: No EJBReceiver available for node name slave:server-three-slave. we are holding a reference of stateful session bean in HTTP Session and we are using the same in both nodes. We are not using any annotations. This is done as part of migrating EJB 2 application to run in EAP 6.1.0. In jboss-ejb3.xml assembly descriptor clustering is enabled for this SFSB

can anyone suggest any steps to resolve this issue

Responses