My Oracle Support Banner

How to Avoid the 'FileNotFoundException' when Processing Very Large Files with the OdiFileWait Tool ? (Doc ID 807686.1)

Last updated on NOVEMBER 13, 2019

Applies to:

Oracle Data Integrator - Version 10.1.3.5.0 and later
Information in this document applies to any platform.

Goal

The ODI tool called OdiFileWait tool is used to wait for a file on a network drive (directory) and to copy it to another folder when a new one is found to be present.

This step ensures that the file upload process is complete before it starts copying the file to a target directory.

In cases where the file is small there appears to be no problem with OdiFileWait and processing goes as expected.

However, when very large files are being processed, this step fails with the following message

java.io.FileNotFoundException: \\..........<LARGE_FILENAME>.zip (The process cannot access the file because it is being used by another process)

although the file is present in the expected folder.

What is the problem here ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.