Replicat For MongoDB Abends With ERROR OGG-15051 Java or JNI exception: (Doc ID 2186038.1)

Last updated on SEPTEMBER 23, 2016

Applies to:

Oracle GoldenGate - Version 12.2.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Replicat for MongoDB abends with below error:

 

Changes

 Steps followed by customer:

1. OGG v12.2 installed.
2. OGG for Big Data 12.2 installed on MongoDB 3.2.
3. OGG for Mongo Adapter v1.0 installed on MongoDB 3.2.
4. MongoDB 3.2 environment are set with JAVA_HOME, PATH & LD_LIBRARY.

5. Configuring or linking java libraries with OGG binaries to start the OGG
process with the error
2016-07-19 14:39:31 ERROR OGG-15050 Error loading Java VM runtime
library: (2 No such file or directory).
Pending task
Configuring or set up of OGG replication / data integration from Oracle to
Mongo. (ODI - Loading MongoDB (API as Target).
So far here is what I did and updated information in SR
A. user created ¿oramongo¿ with additional grants (DBMS_AQ, DBMS_AQADM)
B. Queue Table are setup in Oracle.
C. Test table created in oracle ¿customer¿.
D. Enqueuer & dequeue messages/DMLs/ DMPs are created.


[default@server]$ whereis java
java: /usr/bin/java /usr/lib/java /etc/java /usr/share/java
/usr/share/man/man1/java.1.gz
[default@server]$ cat /etc/java/java.conf
# System-wide Java configuration file -*- sh -*-

# Location of jar files on the system
JAVA_LIBDIR=/usr/share/java

# Location of arch-specific jar files on the system
JNI_LIBDIR=/usr/lib/java

# Root of all JVM installations
JVM_ROOT=/usr/lib/jvm
[default@server]$ ls /usr/lib/jvm
java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64 jre-1.8.0
jre-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64
jre jre-1.8.0-openjdk
jre-openjdk

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