IBM Support

PM13601: JAVA SOCKET CODE MAKES BAD CALL TO SETSOCKOPT FOR EVERY BIND OPERATION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as duplicate of another APAR.

Error description

  • In certain situations on z/OS, when IPv6 is enabled, socket
    operations in Java will issue extraneous and invalid calls to
    the getsockopt and setsockopt system services.
    
    These calls will fail, but will not cause any problems with
    sockets or data communication.
    
    A trace of USS calls (either via CTRACE or GTF trace with SLIPs)
    may show these repeated failures under the covers.
    

Local fix

  • To eliminate the calls to get/setsockopt, you will need to
    deactivate IPv6 support in the Java Virtual Machine.
    
    This can be accomplished with the Java System Property:
    java.net.preferIPv4Stack = true
    
    At the commandline this can be set with a -D commandline option.
    Alternately the IBM_JAVA_OPTIONS environment variable can be
    used to set this at a higher scope for all running JVM processes
    with access to the variable.
    
    IBM_JAVA_OPTIONS = -Djava.net.preferIPv4Stack=true
    
    
    NOTE:
    The extraneous and erroneous system calls do not cause any
    failures of application or JVM functionality. The only
    potentially visible symptom is a performance impact while
    performing socket operations.
    The Local Fix / Circumvention above should be used only in cases
    where the syscall error performance issue is causing an impact
    on the system. And only when IPv6 communication is not required.
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • PM13601 is a sysroute of APAR PM01840. It was taken to deliver
    a ++APAR. PM13601 is being closed DUP of PM18025 because
    PM18025 will document the delivery of SDK 1.5 SR12 which
    will contain the fix for PM01840.
    

APAR Information

  • APAR number

    PM13601

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED DUB

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-03

  • Closed date

    2010-07-08

  • Last modified date

    2010-08-19

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

    PM01840

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022