hi Ban, I have infact used the IP address of the servers and *NOT* 127.0.0.1. That is why I am suprised why I am getting the following behaviour.
MJ --- Mridul Jain <[EMAIL PROTECTED]> wrote: > hi Ban, > I added bind_addr attribute in both the servers with > their respective ips and both the servers seem to > identify each other. But I am getting this line: > ---------------------------------------------------------------------------------- > 18:10:52,399 INFO [DefaultPartition] New cluster > view > (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099] > 18:10:52,403 INFO > [DefaultPartition:ReplicantManager] > Dead members: 0 > 18:10:53,549 INFO [HAILServerILService] Notified to > stop acting as singleton. > ----------------------------------------------------------------------------------- > > in the node which acts as the second cluster node. > I was wondering why the New cluster View shows > 127.0.0.1 as the ip addresses for both the nodes. > I have set loopback to false in cluster-service.xml > in > both the servers. > I brought down the lo interface and let eth0 only up > in both the nodes and started the servers again on > both. Again the servers could not identify each > other. > > why I am seeing 127.0.0.1 for both the servers?? > > MJ > --- Bela Ban <[EMAIL PROTECTED]> wrote: > > > > > > Mridul Jain wrote: > > > > > hi, > > > I am running jboss-3.2.3 on GNU/Linux box and > > trying > > > to get jboss clustering up and running. > > > First I check if multicasting works fine, by > > running > > > the following from jgroup: > > > On host1: > > > ---------------------------------------------- > > > java org.javagroups.tests.McastReceiverTest > > > -mcast_addr 228.1.2.3 -port 45566 > > > ---------------------------------------------- > > > Onhost2: > > > ----------------------------------------------- > > > java org.javagroups.tests.McastSenderTest > > -mcast_addr > > > 228.1.2.3 -port 45566 > > > ----------------------------------------------- > > > > > > I am able to communicate perfectly without any > > > problems. > > > > > > Then I start jboss-3.2.3 using ./run.sh -c all > on > > both > > > the hosts. But I am able to see that both the > > > nodes/servers cannot find each other as can be > > seen in > > > server.log and it shows only one cluster member > in > > > both. > > > > > > Probing further I tried receiving messages using > : > > > ---------------------------------------- > > > java org.javagroups.tests.McastReceiverTest > > > -mcast_addr 228.1.2.3 -port 45566 > > > ----------------------------------------- > > > on host1 and running the jboss-server on the > same > > > node. > > > At periodic intervals I started getting some > junk > > > message from the jboss-server as soon as > > > cluster-service.xml was deployed. The messages > > were > > > from 127.0.0.1:45566. > > > > > > Did you try setting bind_addr in the cluster > config > > (in > > cluster-service.xml) ? > > Post your cluster-service.xml > > > > > > -- > > Bela Ban > > http://www.jgroups.org > > Cell: (408) 316-4459 > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce > > Software. > > Perforce is the Fast Software Configuration > > Management System offering > > advanced branching capabilities and atomic changes > > on 50+ platforms. > > Free Eval! > > http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" > Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user