April 2018
Intermediate to advanced
382 pages
10h 11m
English
If you want to build a cluster using Apache TomEE nodes, you need to edit the $TOMEE_HOME/conf/server.xml file. Then, find this line:
<Engine name="Catalina" defaultHost="localhost">
Insert a child node, like this:
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8"> <Manager className="org.apache.catalina.ha.session .DeltaManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/> <Channel className="org.apache.catalina.tribes.group .GroupChannel"> <Membership className="org.apache.catalina .tribes.membership .McastService" address="228.0.0.4" port="45564" frequency="500" dropTime="3000"/> <Receiver className="org.apache.catalina.tribes .transport.nio.NioReceiver" ...
Read now
Unlock full access