IV44166: FILECHANNEL.TRANSFERTO() OR FILECHANNEL.TRANSFERFROM() FAILS WIT H IOEXCEPTION ON AIX PLATFORM

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Caused by: java.io.IOException: Invalid argument
    
    at sun.nio.ch.FileChannelImpl.map0(Native Method)
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:746)
    at
    sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelI
    mpl.java:440)
    at
    sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:513)
    .
    

Local fix

Problem summary

  • When a file, which is on a CIFS (Common Internet File System)
    mount on AIX system, is transferred to another file using
    FileChannel.transferTo() or FileChannelImpl.transferFrom()
    functions, they fail with 'Invalid argument'. These functions
    used the memory mapping for transferring the file and AIX has a
    documented limitation while doing mmap() on CIFS mounted files.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR15
    6.0.1 SR7
    7.0.0 SR6
    .
     The JDK has been updated to fall back to the sequential file
    transfer by reading the source file and writing to the
    destination file sequentially when mmap() fails
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV44166

  • 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

    2013-06-12

  • Closed date

    2013-08-12

  • Last modified date

    2013-08-12

  • 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

  • R700 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV44166

Modified date:

2013-08-12

Translate my page

Machine Translation

Content navigation