[jboss-jira] [JBoss JIRA] Created: (JGRP-397) I am new to the JGroups, tcp.xml configuration on linux raise bug

sampangi apparao (JIRA) jira-events at jboss.com
Thu Dec 21 12:35:40 EST 2006


I am new to the JGroups, tcp.xml configuration on linux raise bug
-----------------------------------------------------------------

                 Key: JGRP-397
                 URL: http://jira.jboss.com/jira/browse/JGRP-397
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.4.1
         Environment: Linux
            Reporter: sampangi apparao
         Assigned To: Bela Ban
            Priority: Minor


I wrote simple program with tcp.xml configuration and it implements ExtendedMessageListener, ExtendedMembershipListener and overide only the following method and remain empty  

public void viewAccepted(View new_view) {
		System.out.println("Received view " + new_view + '\n');
		// TODO Auto-generated method stub
		
	}


when I am executing the program my machine was not identifing with ip address.  I issued a command like

java -Djgroups.bind_address=172.16.2.30 -Djgroups.tcpping.initial_hosts=172.16.2.30[7800] -Djava.net.preferIPv4Stack=true -classpath $classpath com.packetmotion.poc.SimpleTest

I am getting result like

GMS: address is 127.0.0.1:7800

Received View [127.0.0.1:7800|0] [127.0.0.1:7800]

but my machine ip is 172.16.2.30.

please provide the solution to resolve this issue

Advance thanks for your solution.

regards
Rao


-- 
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