Help with TCPGOSSIP

View: New views
1 Messages — Rating Filter:   Alert me  

Help with TCPGOSSIP

by Klaus L'Imbecile :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to get a node that's behind a firwewall to participate in a cluster my using the TCP Gossip capability.

I have three nodes. Two are on the open Internet and have each a gossip router running. Here is how these nodes are initialized:

        GossipRouter r= new GossipRouter();
    r.start();
        Thread.sleep(5000);
        JChannel c=new JChannel("tcp.xml");
        c.connect(groupname);
        map=new ReplicatedHashMap<String,String>(c);
        map.addNotifier(this);

The third node behind the firewall is initialized as follows:

       
        JChannel c=new JChannel("tcpgossip.xml");
        c.connect(groupname);
        map=new ReplicatedHashMap<String,String>(c);
        map.addNotifier(this);


The two nodes on the open Internet can communicate with each other without problem. The node behind firewall unfortunately doesn't see the cluster although i specified the IP addresses of the open nodes as init hosts.

What should i do differently?

Thanks,

Klaus.


--
Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://portal.gmx.net/de/go/dsl02

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
javagroups-users mailing list
javagroups-users@...
https://lists.sourceforge.net/lists/listinfo/javagroups-users