GG 21c Same Version Not Working For Both Source And Target For MongoDB
(Doc ID 2971779.1)
Last updated on JULY 20, 2024
Applies to:
Oracle GoldenGate Big Data and Application Adapters - Version 21.8.0.0.0 and laterInformation in this document applies to any platform.
Goal
GG v21.9.0.0.3 is not working for MongoDB as Target, especially for Inserts, it is failing with below error
Exception in thread "main" java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.insertOne(Ljava/lang/Object;)Lcom/mongodb/client/result/InsertOneResult;
at oracle.goldengate.handler.mongodb.operations.InsertOperationHandler.process(InsertOperationHandler.java:103)
at oracle.goldengate.handler.mongodb.MongoDBHandler.operationAdded(MongoDBHandler.java:243)
at oracle.goldengate.datasource.DsEventManager$4.send(DsEventManager.java:457)
at oracle.goldengate.datasource.DsEventManager.distributeEvent(DsEventManager.java:120)
at oracle.goldengate.datasource.DsEventManager.fireOperationAdded(DsEventManager.java:466)
at oracle.goldengate.datasource.AbstractDataSource.fireOperationAdded(AbstractDataSource.java:482)
at oracle.goldengate.datasource.UserExitDataSource.addOperationToTransactionAndFireEvent(UserExitDataSource.java:2454)
at oracle.goldengate.datasource.UserExitDataSource.createOperation(UserExitDataSource.java:1705)
at oracle.goldengate.datasource.UserExitDataSource.createOperation(UserExitDataSource.java:1451)
OGG v21.4.0.0.0 was working for MongoDB as Target, eventhough there came Insert.
We have to enable replication from MongoDB to MongoDB. So do i have to install v21.9.0.0.3 to support Capture from MongoDB and v21.4.0.0.0 to support MongoDB as Target ? Can you check and confirm on this please ?
Solution
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
Goal |
Solution |
References |