Last updated on JULY 17, 2017
Applies to:Management Pack for Oracle GoldenGate - Version 220.127.116.11.1 and later
Information in this document applies to any platform.
Currently mgr,jagent and replicat processes are running in foreground as ggsmgr windows services is deleted purposely, reason is When we create/start ggsmgr service and then try to start jagent it fails and throw below error OGG error log.
we are getting below error in GG error log while starting JAgent,
2015-04-22 09:08:36 INFO OGG-00978 Oracle GoldenGate Command Tool for SQL Server, JAGENT.prm: GGCMD JAGENT is running.
2015-04-22 09:08:36 ERROR OGG-01084 Oracle GoldenGate Command Tool for SQL Server, JAGENT.prm: WIN32 API CALL CreateProcess failed 2 (The system cannot find the file specified.).
2015-04-22 09:08:39 ERROR OGG-01668 Oracle GoldenGate Command Tool for SQL Server, JAGENT.prm: PROCESS ABENDING.
We tried recreating goldengate windows service ggsmgr , all other processes on target side (i.e. manager and replicat) are running fine , only issue with jagent.
in event viewer error seems to be related to Window API "WIN32 API CALL CreateProcess failed 2"
Below are some more details which can help you to understand the settings and some more details are already attached to the SR.
note:- When we delete windows service GGSMGR and run mgr/replicat and jagent in foreground then only jagent doesn't abend otherwise using service GGSMGR it always abend throwing above error.
COMMAND java -Dconfig.dir=H:\goldengate_monitor_agent1\cfg -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=H:\goldengate_monitor_agent1\cfg/logging-config.xml -Doracle.core.ojdl.logging.componentId=JAGENT -jar -Xms512m -Xmx1024m H:\goldengate_monitor_agent1\oggmon\ogg_agent/dirjar/jagent.jar
JAVA path and version
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Oracle GoldenGate Command Interpreter for SQL Server
Version 18.104.22.168.1 17597485 OGGCORE_22.214.171.124.T2_PLATFORMS_131206.0309
Windows x64 (optimized), Microsoft SQL Server on Dec 6 2013 12:06:08
Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms