IBM Support

IC80310: ABEND WITH CODE ABEND_001 CAUSED BY JAVA.NIO.CHANNELS.OVERLAPPINGFILELOCKEXCEPTION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Class:      com.ibm.wmqfte.thread.FTEThread
    Instance:   8a037f
    Method:     uncaughtException
    Probe:      ABEND_001
    Cause:      java.nio.channels.OverlappingFileLockException
    java.nio.channels.OverlappingFileLockException
            at
    sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(FileCha
    nnelImpl.java:1173)
            at
    sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(FileChannelIm
    pl.java:1075)
            at
    sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:881)
            at
    com.ibm.wmqfte.io.impl.FTEFileImpl.startsWith(FTEFileImpl.java:9
    68)
            at
    com.ibm.wmqfte.io.impl.FTEFileImpl.deleteTempFiles(FTEFileImpl.j
    ava:889)
            at
    com.ibm.wmqfte.io.impl.FTEFileChannelImpl.complete(FTEFileChanne
    lImpl.java:583)
            at
    com.ibm.wmqfte.io.impl.FTEFileChannelImpl.close(FTEFileChannelIm
    pl.java:517)
            at
    com.ibm.wmqfte.io.impl.FTEBufferedFileChannel.close(FTEBufferedF
    ileChannel.java:177)
            at
    com.ibm.wmqfte.io.FTEFilterFileChannel.close(FTEFilterFileChanne
    l.java:87)
            at
    com.ibm.wmqfte.io.impl.FTETextFileChannelImpl.close(FTETextFileC
    hannelImpl.java:353)
            at
    com.ibm.wmqfte.io.FTEFilterFileChannel.close(FTEFilterFileChanne
    l.java:80)
            at
    com.ibm.wmqfte.io.impl.FTETextFileChannelImpl.close(FTETextFileC
    hannelImpl.java:341)
            at
    com.ibm.wmqfte.transfer.impl.TransferReceiverRunnable.run(Transf
    erReceiverRunnable.java:649)
            at java.lang.Thread.run(Thread.java:619)
            at
    com.ibm.wmqfte.thread.FTEThread.run(FTEThread.java:52)
    ...
    System was able to be restarted.
    This APAR is to prevent the ABEND from occuring.
    

Local fix

  • WMQFTE is restarted
    

Problem summary

  • If IBM WebSphere MQ File Transfer Edition is unable to obtain a
    file lock when attempting to compare two files, it may ABEND
    with java.nio.channels.OverlappingFileLockException.
    
    This will only occur if one of the operands if unable to be
    locked. If the other operand of the compare is unable to be
    locked then an IOException will be thrown internally, which is
    handled gracefully by the agent (which may later retry).
    
    This APAR is applicable if the following can be seen within the
    ABEND file generated by the agent:
    
    1) Probe: ABEND_001
    2) Cause: java.nio.channels.OverlappingFileLockException
    3) The stack below the OverlappingFileLockException contains:
    com.ibm.wmqfte.io.impl.FTEFileImpl.startsWith(FTEFileImpl.java:#
    ##)
    
    USERS AFFECTED:
    All
    
    PLATFORMS AFFECTED:
    All
    

Problem conclusion

  • The code has been altered to ensure that both operands of the
    compare are handled the same way. If the agent is unable to
    obtain a file lock on either of these files, then an IOException
    will be thrown and handled gracefully internally by the agent.
    The agent will no longer ABEND.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 7.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80310

  • Reported component name

    WMQ FILE TRANSF

  • Reported component ID

    5724R1000

  • Reported release

    703

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-08

  • Closed date

    2011-12-28

  • Last modified date

    2012-07-20

  • 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

    WMQ FILE TRANSF

  • Fixed component ID

    5724R1000

Applicable component levels

  • R703 PSY

       UP

  • R704 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEP7X","label":"WebSphere MQ File Transfer Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.2","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
20 July 2012