PK45629: VISTA: JAVA.NET.SOCKETEXCEPTION PROTOCOL FAMILY UNAVAILABLE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: In Windows Vista, sockets fail to connect to IPv6
    format address (say ::1) with the following exception:
    "Protocol family unavailable"
    Stack Trace: java.net.SocketException: Protocol family
    unavailable
          at java.net.PlainSocketImpl.socketBind(Native Method)
          at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:362)
          at java.net.ServerSocket.bind(ServerSocket.java:341)
          at java.net.ServerSocket.<init>(ServerSocket.java:208)
          at IPV6Accept.main(IPV6Accept.java:15)
    .
    On Windows XP when the ipv6 stack is installed and is explicitly
    set the java property java.net.preferIPv4Stack to false there
    was no exception even if the host is not in an Ipv6 network. The
    problem is only on Windows Vista.
    

Local fix

Problem summary

  • Exception is thrown on Vista when we are trying to create the
    socket with the IPv6 address format.
    Exception thrown is like
    java.net.SocketException   Protocol Family Unavailable
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR9 (Windows IA32)
    1.4.2 SR9 (Windows IA64)
    .
    when we update our codebase to include the IPv6 support for
    Vista, The problem went off.
    .
    To obtain the fix:
    Install build 20070519 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK45629

  • Reported component name

    JAVA1.3 1.4WIN

  • Reported component ID

    5648C9803

  • Reported release

    142

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-22

  • Closed date

    2007-05-24

  • Last modified date

    2007-05-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PK45635

Fix information

  • Fixed component name

    JAVA1.3 1.4WIN

  • Fixed component ID

    5648C9803

Applicable component levels

  • R142 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology

Software version:

1.4.2

Reference #:

PK45629

Modified date:

2007-05-24

Translate my page

Machine Translation

Content navigation