IBM Support

IV65046: GETLOCALSOCKETADDRESS, GETLOCALPORT RETURNS INVALID ARGUMENT.POR TING IV03462 TO JAVA 7

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.net.SocketException: A system call received a
    parameter that is notvalid.at
    sun.nio.ch.Net.localInetAddress(Native Method)at
    sun.nio.ch.Net.localAddress(Net.java:507)at
    sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:142)a
    t
    sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImp
    l.java:298)
    .
    The error can happen when the socket operations between server
    and client are happening at a very rapid pace.(including socket
    create - socket close)
    

Local fix

Problem summary

  • The problem is caused when a live connection with AIX socket is
    terminated with a TCP RST signal. AIX implementation is such
    that the socket resources in the kernel layer are cleared up by
    the kernel upon receiving the RST. This error is converted into
    an unexpected SocketException which is not handled properly by
    the JCL code and wrapped in an Error.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7    SR8 FP10       (7.0.8.10)
       7 R1 SR2 FP10       (7.1.2.10)
    
    The JDK has been updated to reaturn a null instead of
    throwing SocketException.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV65046

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-19

  • Closed date

    2014-11-28

  • Last modified date

    2015-01-16

  • 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

  • R700 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022