Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4872

Invalid URI if the jboss.bind.address is IPv6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • JBossAS-4.2.1.GA
    • Remoting
    • None

      JBossRemoting uses jboss.bind.address in URI like the following:
      socket://${jboss.bind.address}:4446/?datatype=invocation

      However, if the jboss.bind.address is IPv6, it should be inside
      of square brackets.

      Invalid URI
      socket://::1:4446/?datatype=invocation

      Valid URI
      socket://[::1]:4446/?datatype=invocation

      To reproduce this issue:

      Run JBoss instance by the following commend on IPv6 enabled system.
      $ ./run.sh -c default -b ::1

      Workaround:
      Edit JBossRemoting URL not to use jboss.bind.address.

      Note:
      IPv6 address cannot be parsed with JBossRemoting 2.2.1.GA bundled in 4.2.1.GA. IPv6 parsing needs updated version of JBossRemoting.
      http://jira.jboss.com/jira/browse/JBREM-645

              rsigal@redhat.com Ronald Sigal
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: