Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-156

Parsing of IPv6 loopback address fails

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.0.CR1
    • Fix Version/s: 1.1.0.CR3
    • Component/s: None
    • Labels:
      None

      Description

      The IPv6 loopback addresss ::1 cannot be parsed. I suspect this also fails for regular IPv6 addresses.
      The stack trace is:

      04:18:33,829 ERROR [STDERR] Exception in thread "pool-5-thread-1" java.lang.NumberFormatException: For input stri
      ng: ":1:8000"
      04:18:33,829 ERROR [STDERR] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      04:18:33,830 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:481)
      04:18:33,830 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:514)
      04:18:33,830 ERROR [STDERR] at org.jboss.modcluster.Utils.parseSocketAddress(Utils.java:115)
      04:18:33,830 ERROR [STDERR] at org.jboss.modcluster.Utils.parseSocketAddress(Utils.java:76)
      04:18:33,830 ERROR [STDERR] at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl$AdvertiseListenerWor
      ker.run(AdvertiseListenerImpl.java:505)
      04:18:33,830 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                belaban Bela Ban
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: