2 Replies Latest reply on Jan 14, 2005 9:17 AM by Wolfgang Helbig

    Test case AsyncUnitTestCase and others fail on solaris 8

    Wolfgang Helbig Newbie

      When AsyncUnitTestCase is run from the Jboss3.2.7RC2 test suite it fails. The reason seems to be the way the localhost interface works or doesn't work on solaris 8. When using the NIC interface, the test case works fine. As can be seen by the test.log, a mulitcast message is recieved only by one thread when using localhost but by two threads when using a real NIC.

      Here is an excerpt from the log file (sol is the hostname, i.e. the real NIC):
      1. using bind.address=sol:

      2005-01-13 15:03:00,424 DEBUG [org.jgroups.protocols.UDP] sending message to 228.1.2.3:45566 (src=sol:33150), headers are {PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[UDP:group_addr=CacheGroup]}
      2005-01-13 15:03:00,425 DEBUG [org.jgroups.protocols.UDP] received (mcast) 98 bytes from /192.168.0.1:33151 (size=98 bytes)
      2005-01-13 15:03:00,428 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.1.2.3:45566, src: sol:33150 (2 headers), size = 0 bytes], headers are {PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[UDP:group_addr=CacheGroup]}
      2005-01-13 15:03:00,428 DEBUG [org.jgroups.protocols.UDP] received (mcast) 98 bytes from /192.168.0.1:33151 (size=98 bytes)
      2005-01-13 15:03:00,429 DEBUG [org.jgroups.protocols.UDP] message is [dst:228.1.2.3:45566, src: sol:33150 (2 headers), size = 0 bytes], headers are {PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[UDP:group_addr=CacheGroup]}

      And here follows the log when run with bind.address = localhost:

      2005-01-13 15:01:36,341 DEBUG [org.jgroups.protocols.UDP] sending message to 228.1.2.3:45566 (src=localhost:33139), headers are {PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[UDP:group_addr=CacheGroup]}
      2005-01-13 15:01:36,341 DEBUG [org.jgroups.protocols.UDP] received (mcast) 98 bytes from /127.0.0.1:33140 (size=98 bytes)
      2005-01-13 15:01:36,342 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.1.2.3:45566, src: localhost:33139 (2 headers), size = 0 bytes], headers are {PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[UDP:group_addr=CacheGroup]}
      2005-01-13 15:01:36,342 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from localhost:33139, returning [PING: type=GET_MBRS_RSP, arg=[own_addr=localhost:33139, coord_addr=localhost:33139]]

      Does this problem occur on solaris 8 only? How can you make it work on solaris 8?
      Any ideas?

      TIA Wolfgang