OGG For Big Data Replicat Abending With Version Mismatch Unsupported major.minor version 52.0

(Doc ID 2348442.1)

Last updated on FEBRUARY 12, 2018

Applies to:

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

Symptoms

Replicat to AWS Kinesis was failing due to below error:


2017-12-15 14:47:11 WARNING OGG-15053 Java method shutdown(()V) is not found in class oracle/goldengate/datasource/UserExitMain.
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/goldengate/datasource/UserExitMain : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

Source Context :
  SourceModule : [gglib.ggdal.adapter.java]
  SourceID : [/scratch/aime/adestore/views/aime_adc4150335/oggcore/OpenSys/src/gglib/ggdal/Adapter/Java/JavaAdapter.cpp]
  SourceMethod : [HandleJavaException]
  SourceLine : [243]
  ThreadBacktrace : [16] elements
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x7f3e1fe7154e]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x6ac) [0x7f3e1fe61d4c]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/libgglog.so(_MSG_String(CSourceContext*, int, char const*, CMessageFactory::MessageDisposition)+0x39) [0x7f3e1fe543b9]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/libggjava.so(+0x2e967) [0x7f3e181a1967]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/libggjava.so(ggs::gglib::ggdal::CJavaAdapter::Open()+0x8b5) [0x7f3e181a3b55]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(ggs::gglib::ggdal::CDALAdapter::Open(ggs::gglib::ggunicode::UString const&)+0x20) [0x81d420]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(GenericImpl::Open(ggs::gglib::ggunicode::UString const&)+0x2c) [0x8068fc]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(odbc_param(char*, char*)+0xb1) [0x7fa461]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(get_infile_params(ggs::gglib::ggapp::ReplicationContextParams&, ggs::gglib::ggdatasource::DataSourceParams&, ggs::gglib::ggdatatarget::DataTargetParams&, ggs::gglib::ggmetadata::MetadataContext&)+0x9878) [0x5cfa68]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat() [0x6d93dd]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x5e) [0x7d371e]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*)+0x173) [0x7d7ae3]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x140) [0x7d8350]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(main+0x3b) [0x6dca2b]]
  : [/lib64/libc.so.6(__libc_start_main+0xfd) [0x3044c1ed1d]]
  : [/usr/apps/dw_rep/build/gg_upgrade/123110_ggs_Adapters_Linux_x64_bigdata/replicat(__gxx_personality_v0+0x341) [0x54a409]]

2017-12-15 14:47:11 ERROR OGG-15051 Java or JNI exception:
java.lang.UnsupportedClassVersionError: oracle/goldengate/datasource/UserExitMain : Unsupported major.minor version 52.0.

2017-12-15 14:47:11 ERROR OGG-01668 PROCESS ABENDING.

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