I have this Jboss Configuration: 2 nodes instances of Jboss eap 7.1.6 on differente machine clustering (udp) each other on standalone mode. The first consideration that i'll do is the above similar configuration with cluster on a single instance of jboss is working fine, but in a case of 2 different jboss on different machines does not work correctly.
I start any Jboss with a canonical:
|Start of Jboss Instances|
./standalone.sh -c standalone-full-ha.xml -bmanagement=first_ip -b 0.0.0.0 -u 184.108.40.206
./standalone.sh -c standalone-full-ha.xml -bmanagement=second_ip -b 0.0.0.0 -u 220.127.116.11
In the log i see the cluster seems started correctly
This is the first anomaly: why in the log i have 4 similar rows for each channel named ee? In the Jboss eap 7.0, the log show 4 differents rows each to any protocol: server, ejb, hibernate, web. But the problems is not here. When i try to test a web session shared, i see that each node preserve it's own session: it seems that every standalone/node work separately. Why this?
Above other configuration for every standalone node (standalone-full-ha.xml):
|standalone-full-ha.xml (node2) - interesting parts|
In practice: when i try to, via a simple counter visit web application, navigate on first instance i read a value of this counter; after i switch on second instance, this counter restart to first value and not continue from previous value (in this war i have put <distributable/> tag in web.xml)
any suggestions? Thanks