ODI 12c OdiOSCommand Returns "ODI-30038: OS command returned 1" and "UNC paths are not supported" Error When Using UNC Working Path
(Doc ID 2395762.1)
Last updated on OCTOBER 23, 2019
Oracle Data Integrator - Version 22.214.171.124.0 and later Information in this document applies to any platform.
When attempting to use the OdiOSCommand tool from an Oracle Data Integrator (ODI) 12c Agent running on Windows, with a (Universal Naming Convention) UNC working path specified, the following error is returned:
com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1. Error details are ['\\<MACHINE_NAME>\<PATH>' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. File Not Found ]. at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:535) at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235) at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:902) at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:583) at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32) at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:18) ...
It is expected that the command with that working path would work on the Agent running on the Windows operating system.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!