I'm actually trying to set up a basic Tomcat cluster, as indicated in the official documentation. Here is my server.xml on the first server (Host section).
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
<Receiver className="org.apache.catalina.cluster.tcp.ReplicationListener" tcpListenAddress="127.0.1.1" port="9015" selectorTimeout="100" maxThreads="2"/>
</Cluster>
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
However, catalina.out raises me the following error while starting. "WARNING: No rules found matching 'Server/Service/Engine/Host/Cluster/Receiver'."
If i try to define the Receiver's IP listen address like this :
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" receiver.tcpListenAddress="127.0.0.1"/>
Catalina.out raises me the following error while starting:
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Cluster} Setting property 'receiver.tcpListenAddress' to '127.0.0.1' did not find a matching property.
It's like Tomcat can't recognize the markup and it's properties... I have catalina-cluter.jar well present in my /usr/share/tomcat/lib directory.
pastebin link to my whole catalina.out output (cutted before webapp deployements/errors/warnings)