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



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

5.0

Reference #:

IZ72933

Modified date:

2010-09-17

Translate my page

Machine Translation

Content navigation