-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
10.0.0.Final
-
None
If I use a jgroups configuration like this:
<jgroups> <stack-file name='image-tcp' path='jgroups-tcp.xml'/> </jgroups> <cache-container> <transport cluster='infinispan' stack='image-tcp'/> </cache-container>
Everything works fine, but I use a configuration like this:
xi:include href="server-configuration/jgroups/default-tcp.xml"/>
default-tcp.xml file
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:10.0 http://www.infinispan.org/schemas/infinispan-config-10.0.xsd
urn:org:jgroups http://www.jgroups.org/schema/jgroups-4.0.xsd"
xmlns="urn:infinispan:config:10.0"
xmlns:ispn="urn:infinispan:config:10.0">
<jgroups>
<stack name="image-tcp">
<MERGE3 min_interval="1000" max_interval="5000"/>
<TCP_NIO2
bind_addr="${jgroups.tcp.address:127.0.0.1}"
bind_port="${jgroups.tcp.port:7800}"
port_range="30"
recv_buf_size="20m"
send_buf_size="640k"
enable_diagnostics="false"
bundler_type="no-bundler"
thread_naming_pattern="pl"
thread_pool.min_threads="0"
thread_pool.max_threads="8"
thread_pool.keep_alive_time="60000"
/>
<MPING bind_addr="${jgroups.tcp.address:127.0.0.1}"
mcast_addr="${jgroups.mping.mcast_addr:228.2.4.6}"
mcast_port="${jgroups.mping.mcast_port:43366}"
ip_ttl="${jgroups.udp.ip_ttl:2}"
/>
</stack>
</jgroups>
</infinispan>
I'm receiving the following exception
FATAL [org.infinispan.SERVER] (main) Error: org.infinispan.commons.CacheConfigurationException: ISPN000539: Duplicate JGroups stack 'tcp'
Looks like the name attribute of the <stack> are not working as expected