Adapter For ElasticSearch Configuration returns ERROR OGG-15050 Error loading Java VM runtime library (Doc ID 2261231.1)

Last updated on JULY 18, 2017

Applies to:

Oracle GoldenGate Application Adapters - Version 12.1.2.1.6 and later
Information in this document applies to any platform.
Installed product : OGG 12.2.0.1, OGG for Big Data 12.2.0.1.1, Elasticsearch 5.2 and the OGG Adapter for ElasticSearch v1.0

After starting replicat getting below error

2017-04-12 09:44:46 INFO OGG-15052 Using Java class path: ggjava/ggjava.jar;ggjava/resources/lib/optional/log4j-1.2.17.jar;ggjava/resources/lib/optional/slf4j-log4j12-1.7.6.jar.

Source Context :
SourceModule : [gglib.ggdal.adapter.java.jni]
SourceID : [ggdal/Adapter/Java/jni/JNIHelper.cpp]
SourceFunction : [CJavaVM::CJavaVM]
SourceLine : [138]
ThreadBacktrace : [16] elements
: [C:\122011_ggs_Adapters_Windows_x64\gglog.dll(??1CContextItem@@UEAA@XZ+0x2ab6) [0x00007FF8405CEE46]]
: [C:\122011_ggs_Adapters_Windows_x64\gglog.dll(?CreateMessage@CMessageFactory@@QEAAPEAVCMessage@@PEAVCSourceContext@@IZZ+0x561) [0x00007FF8405CF491]]
: [C:\122011_ggs_Adapters_Windows_x64\gglog.dll(?_MSG_ERR_JAVA_VM_MODULE_NOT_FOUND@@YAPEAVCMessage@@PEAVCSourceContext@@W4MessageDisposition@CMessageFactory@@@Z+0x31) [0x00007FF8405A9431]]
: [C:\122011_ggs_Adapters_Windows_x64\ggjava.dll(CommonParserNewSSD+0x61d2) [0x00007FF842A3F252]]
: [C:\122011_ggs_Adapters_Windows_x64\ggjava.dll( : [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(_ggTryDebugHook+0x1329e) [0x00007FF7F96B1A8E]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(_ggTryDebugHook+0x10647) [0x00007FF7F96AEE37]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(ERCALLBACK+0x1ca69) [0x00007FF7F9577C89]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(ERCALLBACK+0x9e81e) [0x00007FF7F95F9A3E]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(_ggTryDebugHook+0x6a63) [0x00007FF7F96A5253]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(_ggTryDebugHook+0x5c5b) [0x00007FF7F96A444B]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(_ggTryDebugHook+0x690d) [0x00007FF7F96A50FD]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(ERCALLBACK+0xa00cb) [0x00007FF7F95FB2EB]]
: [C:\122011_ggs_Adapters_Windows_x64\replicat.exe(CommonLexerNewSSD+0x2b492) [0x00007FF7F973DCF2]]
: [C:\Windows\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007FF858958364]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x00007FF859285E91]]

2017-04-12 09:44:46 ERROR OGG-15050 Error loading Java VM runtime library: (126 The specified module could not be found.).

2017-04-12 09:44:46 ERROR OGG-01668 PROCESS ABENDING.

Symptoms

ERROR OGG-15050 Error loading Java VM runtime library: (126 The specified module could not be found.).

Found this error from replicat report file.

Changes

This is a new setup

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