Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4507

CorbaORBService does not use IPv6-safe URL syntax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • IIOP
    • None

      This is wrong in CorbaOrbService:

      String host = properties.getProperty(JacORBSubsystemConstants.ORB_ADDRESS);
      String port = properties.getProperty(JacORBSubsystemConstants.ORB_PORT);
      properties.setProperty(JacORBSubsystemConstants.JACORB_NAME_SERVICE_INIT_REF,
      "corbaloc::" + host + ":" + port + "/" + rootContext);

      You can't use a string that may be an IPv6 address in URL like that; the address part needs to be surrounded with [].

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: