This content has been marked as final.
Show 1 reply
-
1. Re: Cross-site replication config issue in ISPN 5.2.1
infiniuser Oct 11, 2014 12:03 PM (in response to infiniuser)It seems this was related to the visibility of relay2.xml. Though it was in the same directory as jgroups-tcp.xml ; it's not recognized if defined as :
"<relay.RELAY2 site="dc1" config="relay2.xml" relay_multicasts="false"/>
It has to be specified with the full path , like :
<relay.RELAY2 site="dc1" config="${infinispan.conf.dir}/relay2.xml" relay_multicasts="false"/>
The error message doesn't indicate this, suggest to make it a FileNotFoundExceptionAgain, for the jgroups-relay2.xml defined in relay2.xml, in addition to above problem, it won't also do a config substitution - i.e
<bridge config="jgroups-relay2.xml" name="global"/>
and
<bridge config="${infinispan.conf.dir}/jgroups-relay2.xml" name="global"/>
won't work. In this case, a FileNotFoundException is thrown though.
The full path must be hardcoded , like
<bridge config="/path/from/root/to/jgroups-relay2.xml" name="global"/>
This was for a CentOS environment ; not sure if the same issue exists in other envs,