[jboss-jira] [JBoss JIRA] Created: (JBAS-4020) is system property for jgroups/jboss mcast_port missing?

David (JIRA) jira-events at jboss.com
Thu Jan 25 11:07:02 EST 2007


is system property for jgroups/jboss mcast_port missing?
--------------------------------------------------------

                 Key: JBAS-4020
                 URL: http://jira.jboss.com/jira/browse/JBAS-4020
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Clustering
    Affects Versions: JBossAS-4.0.5.GA
         Environment: windows/linux, java 1.5.0_09, jboss 4.0.5GA, ejb3, clustered
            Reporter: David
         Assigned To: Brian Stansberry
            Priority: Minor


The inclusion of system properties in cluster configuration is a very nice feature.  

It is my understanding that to make a unique cluster(when using UDP), one must specify all three of "mcast_addr", "mcast_port", and "jboss.partition.name:DefaultPartition".  

If this is the case, then would it make sense to include "mcast_port" system property and a related run.sh argument ?

I've changed my cluster-service.xml to include this, and it does work(also nice that it works for this attribute as well)
         <UDP 
               mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" 
               mcast_port="${jboss.partition.mcastPort:45566}"
               ip_ttl="${jgroups.mcast.ip_ttl:8}" 
               ip_mcast="${jboss.cluster.mcast.enabled:true}"
               mcast_recv_buf_size="2000000" mcast_send_buf_size="640000"
               ucast_recv_buf_size="2000000" ucast_send_buf_size="640000"
               loopback="${jboss.cluster.use.loopback:false}"/>

run.sh -c all -u224.1.1.39 -Djboss.partition.mcastPort=45577

This is probably only an issue if running more than one node on a machine



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list