IBM Support

IZ72933: TRAFFICCLASS SOCKET OPTION NOT SUPPORTED WITH IPV4 ON Z/OS JAVA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SDK for Java on z/OS improperly attempts to set the Traffic
    Class for an IPv4 socket when the
    java.net.Socket.setTrafficClass option is called.
    
    When attempting to set the TrafficClass option on an IPv4
    socket, the following exception will occur:
    
    java.net.SocketException: EDC8109I Protocol not available.
    
    This option is supported in IPv6 but the underlying OS does not
    support it with IPv4. The JVM should ignore this option
    for IPv4 sockets on platforms where it is not supported as per
    the Java API.
    
    This APAR will resolve the failure when using setTrafficClass
    with an IPv4 socket. It will not enable Traffic Class support
    for IPv4 sockets.
    
    KEYWORDS
    setTrafficClass TrafficClass SocketException
    

Local fix

  • None
    
    IPv6 sockets are not affected by this problem and support the
    use of the TrafficClass option.
    

Problem summary

  • In zOS, setTrafficClass option is not supported by the
    underlying OS for IPv4. No need to throw an error message while
    failing to set such an option as it is an expected behavior.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11 FP2
    .
    The JVM has been updated to ignore the error message 'Protocol
    not available' for setTrafficClass option for IPv4.
    .
    To obtain the fix:
    Install build 20100917 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ72933

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-18

  • Closed date

    2010-09-17

  • Last modified date

    2010-09-17

  • 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 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 September 2010