1 Reply Latest reply on Dec 1, 2010 3:45 AM by rossog

    jboss.jgroups.diagnostics_addr and bindingservice

    rossog

      Is there a way to change "jboss.jgroups.diagnostics_addr", without changing deploy/cluster/jgroups-channelfactory.sar/META-INF/jgroups-channelfactory-stacks.xml?
      I tryed to modify it in command line with -Djboss.jgroups.diagnostics_addr=239.98.12.11 but doesn't seem to work, JBoss still binds on default address 224.0.75.75.
      As a side note, I managed to change partition udp group this way, using -Djboss.partition.udpGroup=239.192.39.80.
      Thanks.

       

      I forgot to say I'm on 5.1.0. Probably it's something related to properties substitution, but don't know if it's bindingservice fault. I use ports-01.

        • 1. Re: jboss.jgroups.diagnostics_addr and bindingservice
          rossog

          As I suspected in the very first moment, it's a binding service problem.

          To solve the problem it's simple and easy: changing conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml, under

          <bean class="org.jboss.services.binding.ServiceBindingMetadata">

          ...

          <property name="hostName">${jboss.jgroups.diagnostics_addr}</property>