5 Replies Latest reply on May 17, 2006 9:26 AM by Wolf-Dieter Fink

    No effect if change HAJNDI Port/RmiPort with ServiceBindingM

    Wolf-Dieter Fink Master

      Hello,
      we change the ports of JBoss to run multiple instances on one system by copying the samples-bindings.xml and change it.
      Every ports are changed (controlled with jmx-console) except HAJNDI Port/RmiPort.

      Here is the code from ...-bindings.xml

       <!-- ********************* cluster-service.xml **************** -->
      
       <service-config name="jboss:service=HAJNDI"
       delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
       <delegate-config portName="Port" hostName="BindAddress">
       <attribute name="RmiPort">11101</attribute>
       </delegate-config>
       <binding port="11100" host="${jboss.bind.address}"/>
       </service-config>
      
       <service-config name="jboss:service=invoker,type=jrmpha"
       delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
       <delegate-config portName="RMIObjectPort"/>
       <binding port="14447"/>
       </service-config>
       <service-config name="jboss:service=HAJNDI"
       delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
       <delegate-config portName="AutoDiscoveryGroup" hostName="AutoDiscoveryAddress"/>
       <binding port="11102" host="230.0.0.27"/>
       </service-config>
      


      The RMIObjectPort and the AutoDiscovery are changes correct, only the 1100 and 1101 Ports are still in use and not changed to 11100, 11101.

      Any idea?

      Wolf