VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ41351

⇱ IJ41351: IPV6 SOCKET CREATION FAILS WITH A SOCKETEXCEPTION ON Z/OS


IJ41351: IPV6 SOCKET CREATION FAILS WITH A SOCKETEXCEPTION ON Z/OS

APAR status

  • Closed as program error.

Error description

  • Error Message: java.net.SocketException: Protocol family
    unavailable
    .
    Stack Trace: java.net.SocketException: Protocol family
    unavailable
    at java.base/java.net.PlainSocketImpl.socketConnect(Native
    Method)
    at
    java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPla
    inSocketImpl.java:412)
    at
    java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Abst
    ractPlainSocketImpl.java:255)
    at
    java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlain
    SocketImpl.java:237)
    at
    java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:
    392)
    at java.base/java.net.Socket.connect(Socket.java:609)
    at java.base/java.net.Socket.connect(Socket.java:558)
    at java.base/java.net.Socket.<init>(Socket.java:454)
    at java.base/java.net.Socket.<init>(Socket.java:231)
    at HelloSocket.main(HelloSocket.java:28)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • The IPv6 support detection code for z/OS was broken, causing the
    SocketException.
    

Problem conclusion

  • The socket creation code has been updated to rightly detect IPv6
    support from the underlying z/OS.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtime Certified Edition
     11 11.0.16.0
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    maintenance can be found at:
     https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ41351

  • Reported component name

    OPENJDK CLASS L

  • Reported component ID

    621800100

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-07-26

  • Closed date

    2022-08-05

  • Last modified date

    2022-08-05

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

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

Fix information

  • Fixed component name

    OPENJDK CLASS L

  • Fixed component ID

    621800100

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
06 August 2022