Hi all,

I'm implementing Tribes in my project.

In the server xml I have the following cluster configuration:
<Cluster className="org.apache.cataline.ha.tcp.SimpleTcpCluster">
      <Channel className="org.apache.cataline.tribes.group.GroupChannel">
          <Membership
className="org.apache.cataline.tribes.membership.McastService"
address="230.0.0.5"/>
      </Channel>
</Cluster>

In the application I instance the Channel as following:
Channel channel = new GroupChannel();
channel.addChannelListener(myClistener);
channel.addMembershipListener(myMSlistener);
channel.start(Channel.DEFAULT)

And send messages as:
channel.send( channel.getMembers(), message, Channel.SEND_OPTIONS_DEFAULT);

What I don't understand is that the Channel is instantiated correctly
but the default mcast address is applied (228.0.0.4) instead of the
configured one (in the server.xml)
As workaround I'm setting explicitly at runtime my desired address, but
I'd like to configure this address in one place (server.xml).
Any hint?

Thank you

--
Elvis Dominguez
el...@oasinformatica.ch

OASI informatica s.a.
Via Carvina 5
6807 Taverne
Switzerland

Web: http://www.oasinformatica.ch
Tel: +41 91 945 4630


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to