Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-57667

System properties of Jgroups are not parsed correctly

    Details

      Description

      The reference "${cluster.link.bind.addr["cluster-link-udp"]}" setting in "cluster.link.channel.system.properties" can not be parsed correctly.

      Steps to reproduce:
      1) Disable auto detect address by setting "cluster.link.autodetect.address=" in portal-ext.properties
      2) Enable cluster link by setting "cluster.link.enabled=true"
      3) Set jgroups properties by setting:
      cluster.link.channel.system.properties=\
      \
      jgroups.bind_addr:${cluster.link.bind.addr["cluster-link-udp"]},\
      jgroups.bind_interface:eth0
      4) Start portal and will see exceptions like:
      Caused by: java.lang.Exception: Conversion of bind_addr in UDP with original property value ${cluster.link.bind.addr["cluster-link-udp"]} failed
      at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:85)
      at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1144)
      ... 120 more
      Caused by: java.net.UnknownHostException: ${cluster.link.bind.addr["cluster-link-udp"]}
      at java.net.InetAddress.getAllByName0(InetAddress.java:1250)
      at java.net.InetAddress.getAllByName(InetAddress.java:1162)
      at java.net.InetAddress.getAllByName(InetAddress.java:1098)
      at java.net.InetAddress.getByName(InetAddress.java:1048)
      at org.jgroups.conf.PropertyConverters$Default.convert(PropertyConverters.java:257)
      at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:82)
      ... 121 more

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 10 weeks ago

                Packages

                Version Package
                7.0.0 M7