Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4727052

IPV6 corbaloc url with default iiop protocol throwing BAD_PARAM

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_1

      Description

      *****************************************************************************

      ###@###.### 2002-08-06

      build - j2sdk-1_4_1-rc-bin-b18-solaris-sparc-24_jul_2002

      problem description -

      corbaloc url with an ipv6 address and default iiop raises BAD_PARAM whereas a ipv4 address works fine.


      url - corbaloc::###@###.###:10001/HelloService
      Hello Called....

      url - corbaloc::1.2@[::FFFF:129.145.130.53]:10001/HelloService
      org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 707 completed: No
              at com.sun.corba.se.internal.corba.InitialNamingClient.checkcorbalocGrammer(InitialNamingClient.java:447)
              at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1972)
              at test.INSClient.testURL(INSClient.java:131)
              at test.INSClient.run(INSClient.java:32)
              at test.INSClient.main(INSClient.java:23)
      Caused by: java.lang.NumberFormatException: For input string: ":FFFF:129.145.130.53]:10001"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
              at java.lang.Integer.parseInt(Integer.java:426)
              at java.lang.Integer.parseInt(Integer.java:476)
              at com.sun.corba.se.internal.corba.InitialNamingClient.checkcorbalocGrammer(InitialNamingClient.java:442)
              ... 4 more

      url - corbaloc::129.145.130.53:10001/HelloService
      Hello Called....

      url - corbaloc::[::FFFF:129.145.130.53]:10001/HelloService
      org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 707 completed: No
              at com.sun.corba.se.internal.corba.InitialNamingClient.checkcorbalocGrammer(InitialNamingClient.java:447)
              at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1972)
              at test.INSClient.testURL(INSClient.java:131)
              at test.INSClient.run(INSClient.java:32)
              at test.INSClient.main(INSClient.java:23)
      Caused by: java.lang.NumberFormatException: For input string: ":FFFF:129.145.130.53]:10001"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
              at java.lang.Integer.parseInt(Integer.java:426)
              at java.lang.Integer.parseInt(Integer.java:476)
              at com.sun.corba.se.internal.corba.InitialNamingClient.checkcorbalocGrammer(InitialNamingClient.java:442)
              ... 4 more

      *****************************************************************************

        Attachments

          Activity

            People

            Assignee:
            hputtaswsunw Hemanth Puttaswamy (Inactive)
            Reporter:
            smanuel Sony Manuel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: