Fine-tuning JGroups settings in clustered cache configurations
Fine-tuning JGroups settings The settings above can be further tuned without editing the XML files themselves. Passing in certain system properties to your JVM at startup can affect the behaviour of some of these settings. The table below shows you which settings can be configured in this way. E.g.,  $ java -cp ... -Djgroups.tcp.port=1234 -Djgroups.tcp.address=10.11.12.13  jgroups-udp.xml  System Property Description Default Required? jgroups.udp.mcast_addr IP address to use for multicast (both for communications and discovery). Must be a valid Class D IP address, suitable for IP multicast. 228.6.7.8 No jgroups.udp.mcast_port Port to use for multicast socket 46655 No jgroups.udp.ip_ttl Specifies the time-to-live (TTL) for IP multicast packets. The value here refers to the number of network hops a packet is allowed to make before it is dropped 2 No   jgroups-tcp.xml  System Property Description Default Required? jgroups.tcp.address IP address to use for the TCP transport. 127.0.0.1 No jgroups.tcp.port Port to use for TCP socket 7800 No jgroups.udp.mcast_addr IP address to use for multicast (for discovery). Must be a valid Class D IP address, suitable for IP multicast. 228.6.7.8 No jgroups.udp.mcast_port Port to use for multicast socket 46655 No jgroups.udp.ip_ttl Specifies the time-to-live (TTL) for IP multicast packets. The value here refers to the number of network hops a packet is allowed to make before it is dropped 2 No    jgroups-ec2.xml  System Property Description Default Required? jgroups.tcp.address IP address to use for the TCP transport. 127.0.0.1 No jgroups.tcp.port Port to use for TCP socket 7800 No jgroups.s3.access_key The Amazon S3 access key used to access an S3 bucket Yes jgroups.s3.secret_access_key The Amazon S3 secret key used to access an S3 bucket Yes jgroups.s3.bucket Name of the Amazon S3 bucket to use. Must be unique and must already exist Yes Â