My Oracle Support Banner

"FileNotFoundException" Exception Using "LKM File to Oracle (SQLLDR)" in ODI 12c with Backslashes in the Path (Doc ID 2620387.1)

Last updated on AUGUST 21, 2023

Applies to:

Oracle Data Integrator - Version to [Release 12c]
Oracle Data Integrator on Marketplace - Version 1.0.2 to
Information in this document applies to any platform.


NOTE: In the examples below, the names represent a fictitious sample for clarity. Any similarity to actual environments, past or present, is purely coincidental and not intended in any manner.

After upgrading from Oracle Data Integrator (ODI) 11g to ODI, mappings using the "LKM File to Oracle (SQLLDR)" knowledge module that previously executed successfully are now failing. 

The mapping reads a simple file where the file name starts with a certain set of letters. For example, the letter 'r' as in 'read_this_file.csv'. 

Session <SESSION_NAME> (<SESSION_ID>) fails with return code ODI-1298.[[
ODI-1217: Session <SESSION_NAME> (<SESSION_ID>) fails with return code ODI-1298.
ODI-1226: Step <STEP_NAME> fails after 1 attempt(s).
ODI-1227: Task SERIAL-MAP_MAIN- fails on the source connection <CONNECTION_NAME>.
ODI-1298: Serial task "SERIAL-MAP_MAIN- (10)" failed because child task "SERIAL-EU-FILE_HR_QLIK_UNIT (20)" is in error.
ODI-1298: Serial task "SERIAL-EU-FILE_<TASK>_UNIT (20)" failed because child task "Generate CTL file-LKM File to Oracle (SQLLDR)- (70)" is in error.
Caused By: C:/<FOLDER_PATH>/folder_one/folder_two ead_this_file.csv.ctl (Access is denied)
  at Method)
  at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(
  at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(
  at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(


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

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

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