My Oracle Support Banner

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

Last updated on MARCH 21, 2019

Applies to:

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


Replicat for MongoDB abends with below error:



 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
[default@server]$ cat /etc/java/java.conf
# System-wide Java configuration file -*- sh -*-

# Location of jar files on the system

# Location of arch-specific jar files on the system

# Root of all JVM installations
[default@server]$ ls /usr/lib/jvm
java-1.8.0-openjdk- jre-1.8.0
jre jre-1.8.0-openjdk


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.