Wednesday, March 30, 2016

Unable to start Oracle Goldengate JAGENT process in Windows Server 2012 R2 Standard

Unable to start Oracle Goldengate JAGENT process in Windows Server 2012 R2 Standard


Unable to start JAGENT in Windows Server 2012 R2 Standard

Problem:

2016-0x-x0 04:57:34  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI command (rimmer): start jagent.
2016-0x-x0 04:57:34  INFO    OGG-00963  Oracle GoldenGate Manager for Oracle, MGR.prm:  Command received from GGSCI on host [FE80::XXXX:YYYYY:AEAA:14CFD3]:58034 (START GGCMD JAGENT).
2016-0x-x0 04:57:34  INFO    OGG-00975  Oracle GoldenGate Manager for Oracle, MGR.prm:  GGCMD JAGENT starting.
2016-0x-x0 04:57:34  INFO    OGG-00978  Oracle GoldenGate Command Tool for Oracle, JAGENT.prm:  GGCMD JAGENT is running.
2016-0x-x0 04:57:34  INFO    OGG-01927  Oracle GoldenGate Command Tool for Oracle, JAGENT.prm:  Child process started, process ID 9044, command line 'java -Dlog4j.configuration=file:./cfg/log4j.properties -jar -Xms64m -Xmx512m dirjar/jagent.jar'.
2016-03-30 04:57:35  INFO    OGG-00979  Oracle GoldenGate Command Tool for Oracle, JAGENT.prm:  GGCMD JAGENT is down (gracefully).

Solution:

cd C:\goldengate_121210\dirprm
Take a backup of jagent.prm

Open jagent.prm

replace java  with with complete JAVA_HOME path and java command something like

java --> C:\jdk1.7.0_75\bin\java

then Start the jagent

All gone well in my case