Login  Register

Re: goldengate big data initial load replication error

Posted by ErmanArslansOracleBlog on Sep 02, 2020; 8:32am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/goldengate-big-data-initial-load-replication-error-tp8721p8722.html

This seems like a classpath issue..
It seems you are reading mongodb and you have the following ->
java.lang.ClassNotFoundException: org.bson.types.Decimal128

Did you set the classpath properties of Goldengate correctly? I mean did you include the mongo related files in the classpath?
For instance -> gg.classpath=/path/to/mongo-java-driver-3.2.2.jar:/path/to/ogg-mongodb-adapter-1.0.jar:

org.bson.types.Decimal128 :
A binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.

It seems it is included in the mongo java driver -> https://mongodb.github.io/mongo-java-driver/3.9/javadoc/org/bson/types/Decimal128.html

The following MOS note describe an issue and it looks like yours..  It is a little different , but will give you the general idea ->

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