'Can't rename file:...' Signaled When Executing The ODI Tool Odifilewait/SnpsFileWait
(Doc ID 1316630.1)
Last updated on JUNE 16, 2022
Applies to:
Oracle Data Integrator - Version 10.1.3.6.5 to 10.1.3.6.6Information in this document applies to any platform.
Symptoms
When attempting to run the OdiFileWait command in ODI 10.1.3.6.5 to rename a file with the following syntax:
OdiFileWait "-ACTION=COPY" "-DIR=<DIR>" "-PATTERN=<PATTERN>" "-TODIR=<DEST_DIR>" "-TOFILE=<DESTINATION_FILE>" "-OVERWRITE=YES" "-TIMEOUT=1000" "-POLLINT=200" "-NOFILE_ERROR=yes".
The command aborts with the following error message:
java.io.IOException: Can't rename file: <DEST_DIR>/<PATTERN> to <DEST_DIR>/<PATTERN>
at com.sunopsis.dwg.tools.FileWait.renameFiles(FileWait.java)
at com.sunopsis.dwg.tools.FileWait.waitFilesRenameAll(FileWait.java)
...
However when using the option -ACTION=MOVE no problem is encountered.
Cause
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
Symptoms |
Cause |
Solution |
References |