My Oracle Support Banner

OGG-15051 Java or JNI exception: java.lang.NoClassDefFoundError: oracle/goldengate/datasource/UserExitMain (Doc ID 2984035.1)

Last updated on DECEMBER 20, 2023

Applies to:

Oracle GoldenGate Big Data and Application Adapters - Version 21.8.0.0.0 and later
Information in this document applies to any platform.

Symptoms

 ---------------------------------------------------
Oracle GoldenGate Microservice for Big Data

Replicat is appending due to the following error:

ERROR OGG-15051 Oracle GoldenGate Delivery, REPA.prm: Java or JNI exception:java.lang.NoClassDefFoundError: oracle/goldengate/datasource/UserExitMain.

Using JDBC handler method, and the properties file for the replicat is:

# Properties file for Replicat repa
gg.handlerlist=jdbcwriter
gg.handler.jdbcwriter.type=jdbc
#Handler properties for Oracle database target
gg.handler.jdbcwriter.DriverClass=oracle.jdbc.driver.OracleDriver
gg.handler.jdbcwriter.connectionURL=jdbc:oracle:thin:@192.168.199.207:1521:orcl
gg.handler.jdbcwriter.userName=ggadmin
gg.handler.jdbcwriter.password=123
gg.classpath=C:\jars\ojdbc8.jar
#goldengate.userexit.timestamp=utc
goldengate.userexit.writers=javawriter
javawriter.stats.display=TRUE
javawriter.stats.full=TRUE
gg.log=log4j
gg.log.level=INFO
gg.report.time=30sec
javawriter.bootoptions=-Xmx512m -Xms32m -Djava.class.path=.:ggjava/ggjava.jar:./dirprm

 

 

 

Cause

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
Symptoms
Cause
Solution


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