OdiOggException and JAgentException "The pipe is being closed" When Executing OGG Command in ODI 12c

(Doc ID 2324044.1)

Last updated on NOVEMBER 07, 2017

Applies to:

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

Symptoms

When Oracle Data Integrator (ODI) 12.2.1.2.6 executes an Oracle GoldenGate (OGG) command in a job, it results in the following error:

ODI-1589: The execution of the OdiOggCommand operation EXECUTECMD failed.
Caused By: com.sunopsis.dwg.tools.gg.exceptions.OdiOggException: com.sunopsis.dwg.tools.gg.exceptions.OdiOggException: Exception occurred for the operation EXECUTECMD
  at com.sunopsis.dwg.tools.gg.operations.ExecuteGGSCICommand.execute(ExecuteGGSCICommand.java:120)
  at com.sunopsis.dwg.tools.gg.operations.AbstractOperationStrategy.executeOperation(AbstractOperationStrategy.java:62)
  at com.sunopsis.dwg.tools.OggCommand.actionExecute(OggCommand.java:96)
  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)
...
Caused by: com.sunopsis.dwg.tools.gg.exceptions.OdiOggException: Exception occurred for the operation EXECUTECMD
  at com.sunopsis.dwg.tools.gg.operations.ExecuteGGSCICommand.executeCommand(ExecuteGGSCICommand.java:172)
  at com.sunopsis.dwg.tools.gg.operations.ExecuteGGSCICommand.execute(ExecuteGGSCICommand.java:93)
... 28 more
Caused by: com.sunopsis.dwg.tools.gg.exceptions.OdiOggException: Failed by Oracle Golden Gate JAgent for the operation EXECUTECMD.
  at com.sunopsis.dwg.tools.gg.operations.ExecuteGGSCICommand.executeMultiCommand(ExecuteGGSCICommand.java:230)
  at com.sunopsis.dwg.tools.gg.operations.ExecuteGGSCICommand.executeCommand(ExecuteGGSCICommand.java:141)
... 29 more
Caused by: com.oracle.goldengate.jmx.mxbeans.JAgentException: stop extract DELP The pipe is being closedstart extract DELP The pipe is being closed
  at com.oracle.goldengate.jmx.cmd.impl.ggsci.CommandHelper.executeCmd(CommandHelper.java:79)
  at com.oracle.goldengate.jmx.cmd.impl.ggsci.CommandsAdaptor.executeCommand(CommandsAdaptor.java:56)
  at com.oracle.goldengate.jmx.mxbeans.GoldenGate.executeCommand(GoldenGate.java:131)
  at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
...

The generated execute code:

OdiOggCommand "-LSCHEMA=OGG_SCHEMA" "-OPERATION=EXECUTECMD"
add extract DELP, exttrailsource C:\Oracle_GoldenGate/dirdat/CAPoc/oc
add rmttrail /opt/oracle/product/12.2.0/ogghome_1/dirdat/, extract DELP, megabytes 100
stop extract DELP
start extract DELP

The issue can be reproduced in section 5.1 of the Integrating Oracle Data Integrator 12c (ODI) and Oracle GoldenGate 12c (OGG) tutorial.

Cause

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 hundreds of Community platforms