This content has been marked as final.
Show 1 reply
-
1. Re: How to set bind_addr in Infinispan config?
mircea.markus Oct 14, 2010 4:35 PM (in response to michal_szymanski)A way to do it is:
1) define jgroups config in an external xml file
<transport clusterName="infinispan-cluster" distributedSyncTimeout="50000" nodeName="Jalapeno"><properties><property name="configurationFile" value="config-samples/jgroups-udp.xml"/></properties></transport><transport clusterName="infinispan-cluster" distributedSyncTimeout="50000" nodeName="Jalapeno">
<properties>
<property name="configurationFile" value="config-samples/jgroups-udp.xml"/>
</properties>
</transport>
2. add your binding address as an attribute to to trasnport protocol(that is wither TCP or UDP). E.g.:
<TCP bind_port="7800"
bind_addr="127.0.0.1"
loopback="false"