Hi, in JBoss AS7, where all the configuration is done in standalone.xml or domain.xml, does anyone have any idea how to configure Infinispan to use TCP transport protocol using TCPPING and/or TCPGOSSIP. I have examples of this working in standalone programs, but am having a very difficult time converting the configuration to work in JBoss.
For example, what would be the equivalent configuration to
<TCPGOSSIP timeout="3000" initial_hosts="localhost" num_initial_members="3"/>
Among other things, I tried adding a socket-binding like below, to no avail
<socket-binding name="jgroups-tcpping" port="7800" interface="coordinator"/>
As an interim workaround, I was able to get Infinispan configured as needed by removing Infinispan as a subsystem from the JBoss configuration (i.e., from standalone.xml or domain.xml). I then configured it using the normal Infinispan configuration files. Obviously, this is a less than optimal solution and I would really like to know how to do it correctly.
Another approach I was going to attempt was programmatic configuration, but didn't try that. Can that be used in conjunction with the standard JBoss configuration to modify the Infinispan transport configuration? Is that the right way to do it?