-
1. Re: EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with multiple Nodes
wdfink Feb 6, 2014 4:40 AM (in response to sijo.john)Could you elaborate a bit more how your code and configuration look like?
-
2. Re: EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with multiple Nodes
rhusar Feb 6, 2014 4:59 AM (in response to sijo.john)We are not using any annotations.
Do you get the same result if you try to add org.jboss.ejb3.annotation.Clustered annotation instead of the xml descriptor?
-
3. Re: EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with multiple Nodes
sijo.john Feb 6, 2014 11:58 AM (in response to rhusar)i didn't tried with @clustered annotation but instead of that updated jboss-ejb3.xml
<assembly-descriptor>
<c:clustering>
<ejb-name>StatefulSB</ejb-name>
<c:clustered>true</c:clustered>
</c:clustering>
</assembly-descriptor>
about the configuration
Node1 master(domain.xml)
Node2 slave
started both nodes using domain.sh (full-ha profile)
http session is replicated and working also stateless session beans working fine in case of node failure.
in case of stateless session beans if we debug we can see its affinity is taken as ejb
in case of stateful session beans it showing the node name. but for both session beans we have given jboss-ejb3.xml entries like the same.
-
4. Re: EJB Stateful Session Bean Replication is not working in JBoss EAP 6.1.0 with multiple Nodes
wdfink Feb 6, 2014 12:17 PM (in response to sijo.john)stateless sessions did not stick to one node. In case of statefull session beans the same server is used. Only if that failes the proxy will use a different vailable node.
So where the invocation failed and how this client look like?