IBM Support

IJ08569: JAVA.IO.IOEXCEPTION OCCURS WHEN A FILECHANNEL IS BIGGER THAN 2GB ON AIX PLATFORM

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.io.IOException: Invalid argument
            at sun.nio.ch.FileDispatcherImpl.truncate0(Native
    Method)
            at
    sun.nio.ch.FileDispatcherImpl.truncate(FileDispatcherImpl.java:9
    3)
            at sun.nio.ch.FileChannel
    .
    

Local fix

Problem summary

  • On Aix platform, The special buffer processing required due to
    IY58283 uses the system call lseek and when FileChannel is
    bigger than 2gb, it fails because maximun offset value lseek can
    seek is > 2147483648 (2GB).
    

Problem conclusion

  • JDK has been updated to use lseek64, when largefiles is enabled
    on AIX platforms.
    The issue was addressed for Linux paltforms in APAR IZ95389 by
    removing the special buffer processing and simply using
    ftruncate64 system call
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP21  (8.0.5.21)
       7 R1 SR4 FP35  (7.1.4.35)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ08569

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-16

  • Closed date

    2018-08-28

  • Last modified date

    2018-08-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

  • R800 PSY

       UP

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

Document Information

Modified date:
21 February 2022