IBM Support

IZ75636: 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

  • Error Message: When customer tries to use setTrafficClass API
    with IPv4 sockets, socket exception has been thrown in NIO
    component
    .
    Stack Trace: java.net.SocketException: EDC8109I Protocol not
    available.
    at sun.nio.ch.Net.setIntOption0(Native method)
    
    at sun.nio.ch.Net.setIntOption(Net.java:186)
    at
    sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406
    )
    at sun.nio.ch.SocketOptsImpl.setInt(SocketOptsImpl.java:58)
    at
    sun.nio.ch.SocketOptsImpl$IP.typeOfService(SocketOptsImpl.java:2
    61)
    at
    sun.nio.ch.SocketOptsImpl$IP$TCP.typeOfService(SocketOptsImpl.ja
    va:280)
    at
    sun.nio.ch.OptionAdaptor.setTrafficClass(OptionAdaptor.java:170)
    
    at
    sun.nio.ch.SocketAdaptor.setTrafficClass(SocketAdaptor.java:342)
    .
    N/A
    

Local fix

  • N/A
    

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

  • The JVM has been updated to ignore the error message "EDC8109I
    Protocol not available" for setTrafficClass option for IPv4.The
    fix is specific to NIO component. This defect has already been
    fixed for NET component in Java6 SR8
    
    This defect will be fixed in:
    6.0.0 SR9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ75636

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-10

  • Closed date

    2010-07-28

  • Last modified date

    2010-07-28

  • 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

  • R600 PSY

       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":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 July 2010