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

CorbaORBService does not use IPv6-safe URL syntax

    XMLWordPrintable

Details

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

    Description

      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 [].

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: