VOOZH about

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

⇱ IJ35091: IBM JAVA 1.8 ON VIPA ENABLED AIX THROWS SOCKETEXCEPTION


IJ35091: IBM JAVA 1.8 ON VIPA ENABLED AIX THROWS SOCKETEXCEPTION

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.RuntimeException:
    java.net.SocketException: IOCTL SIOCGLIFFLAGS
    .
    Stack Trace: Interface: name:vi0 (vi0)
    Exception in thread "main" java.lang.RuntimeException:
    java.net.SocketException: IOCTL SIOCGLIFFLAGS failed
    at ListNets.getLocalAddresses(ListNets.java:55)
    at ListNets.main(ListNets.java:13)
    Caused by: java.net.SocketException: IOCTL SIOCGLIFFLAGS failed
    at java.net.NetworkInterface.isUp0(Native Method)
    at java.net.NetworkInterface.isUp(NetworkInterface.java:416)
    .
    

Local fix

Problem summary

  • NetworkInterface.isUp() call fails on AIX when VIPA(Virtual IP
    Address) is enabled
    

Problem conclusion

  • The logic check in the NetworkInterface.c is modified to
    correctly handle the VIPA scenario considering the facts:
    1. IOCTL system call returns -1 in case of error/failure.
    2. In case of AIX VIPA the ifr_flgs may have negative values
    like -2080374719.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR7 (8.0.7.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
     https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ35091

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-21

  • Closed date

    2021-09-21

  • Last modified date

    2021-10-03

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"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:
21 February 2022