Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-215

org.jboss.remoting3.test.OutboundMessageCountTestCase#org.jboss.remoting3.test.OutboundMessageCountTestCase fails on ipv4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.0.14.Final
    • None

      There is an error that cause failing of test on ipv4 only machines

      testOutboundMessageSend(org.jboss.remoting3.test.OutboundMessageCountTestCase)  Time elapsed: 0.066 sec  <<< ERROR!
      java.net.URISyntaxException: Malformed IPv6 address at index 10: remote://[localhost]:30123
              at java.net.URI$Parser.fail(URI.java:2829)
              at java.net.URI$Parser.parseIPv6Reference(URI.java:3450)
              at java.net.URI$Parser.parseServer(URI.java:3200)
              at java.net.URI$Parser.parseAuthority(URI.java:3136)
              at java.net.URI$Parser.parseHierarchical(URI.java:3078)
              at java.net.URI$Parser.parse(URI.java:3034)
              at java.net.URI.<init>(URI.java:595)
              at org.jboss.remoting3.test.OutboundMessageCountTestCase.beforeTest(OutboundMessageCountTestCase.java:116)
      
      

      error is caused by binding socket to ::1 address

       99:streamServer = networkServerProvider.createServer(new InetSocketAddress("::1", 30123), OptionMap.create(Options.SASL_MECHANISMS, Sequence.of("CRAM-MD5")), provider, null);
      
      116:IoFuture<Connection> futureConnection = endpoint.connect(new URI("remote://[::1]:30123"), OptionMap.EMPTY, "bob", "test", "pass".toCharArray());
      

            rhn-engineering-lgao Lin Gao
            istraka@redhat.com Ivan Straka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: