[
https://jira.jboss.org/jira/browse/JBAS-8026?page=com.atlassian.jira.plug...
]
jaikiran pai commented on JBAS-8026:
------------------------------------
> This is exactly my point.... if you add another server on the
same box... everything should be added +100 except those groups ports.
The +100 was just an example of what SBM can do. SBM also supports the concept of
"fixedPort" as explained in that wiki:
<quote>
fixedPort -- whether runtime ServiceBindings created from this metadata are not allowed
to override the port property configuration to add the portOffset value from the specified
ServiceBindingSet (see below). By default this is false, since it is the addition of the
portOffset that results in unique port numbers and no port conflicts. However, in some
cases the port should remain the same no matter what binding set is used, particularly for
multicast sockets, so fixedPort would be set to true. The jboss:service=HAJNDI
AutoDiscovery example shown above is a good example of such a case.
</quote>
That's how other clustering services on AS, which require a fixedPort for multiple
members of the same cluster, are currently configured.
HornetQ group-address and port configurations for discovery and
broadcast groups should use ServiceBindingManager
------------------------------------------------------------------------------------------------------------------
Key: JBAS-8026
URL:
https://jira.jboss.org/jira/browse/JBAS-8026
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: JMS (HornetQ)
Reporter: jaikiran pai
Assignee: Clebert Suconic
Fix For: 6.0.0.M4
Currently the discovery group and the broadcast group in hornetq-configuration.xml in AS
are used for configuring the group-address and the port:
<broadcast-groups>
<broadcast-group name="bg-group1">
<group-address>231.7.7.7</group-address>
<group-port>9876</group-port>
<broadcast-period>5000</broadcast-period>
<connector-ref connector-name="netty"/>
</broadcast-group>
</broadcast-groups>
<discovery-groups>
<discovery-group name="dg-group1">
<group-address>231.7.7.7</group-address>
<group-port>9876</group-port>
<refresh-timeout>10000</refresh-timeout>
</discovery-group>
</discovery-group>
The ServiceBindingManager
http://community.jboss.org/wiki/AS5ServiceBindingManager should
instead be used for these properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira