no physical address

2012-05-21
2012-09-06
  • Heribert Springer

    Hello,

    I have some clients A, B, C (and so on) and want to use jgroups to
    communicate. Communication is only between A-B and A-C. Actually, there is no
    communication B-C.

    I want to use a tcp connection and I have inserted TCPPING in my protocol
    stack. Using a configured initial_hosts (all three clients A, B, C know the ip
    address of client A) works fine. Unfortunately, I get warnings (via log4j) "no
    physical address for ..." at client B and/or C because these clients don't
    know each other.

    I cannot insert the ip address of client B or C in the protocol stack (because
    I don't know these addresses).

    I think I cannot use MPING because I don't know the configurations of routers
    and other network components.

    Does anyone have an idea how I can suppress the warnings? (No, I don't want to
    change the log level in my log4j configuration.)

    Regards,

    Heribert

     
  • Bela Ban

    Bela Ban - 2012-05-28

    I have some clients A, B, C (and so on) and want to use jgroups to
    communicate. Communication is only between A-B and A-C. Actually, there is no
    communication B-C. I want to use a tcp connection and I have inserted TCPPING
    in my protocol stack. Using a configured initial_hosts (all three clients A,
    B, C know the ip address of client A) works fine. Unfortunately, I get
    warnings (via log4j) "no physical address for ..." at client B and/or C
    because these clients don't know each other.

    Yes, because B and C might occasionally need to communicate with each other;
    e.g. by sending heartbeats (this is internal JGroups comm, not app comm).

    I cannot insert the ip address of client B or C in the protocol stack
    (because I don't know these addresses).

    Then don't use TCPPING. I keep saying over and over that TCPPING is for a
    static configuration where the addresses of all nodes are known. If this is
    not the case, use something else, such as MPING, FILE_PING, or TCPGOSSIP.

    I think I cannot use MPING because I don't know the configurations of
    routers and other network components. Does anyone have an idea how I can
    suppress the warnings? (No, I don't want to change the log level in my log4j
    configuration.)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks