OGG EXTRACT Java Adapter for AQ fails with: Error occured in javawriter.c (Doc ID 1451801.1)

Last updated on JULY 17, 2017

Applies to:

Oracle GoldenGate - Version 11.2.1.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Apr-2015***

Symptoms

OGG EXTRACT Java Adapter for AQ fails with:

Error occured in javawriter.c[269]: Error occurred (Java exception): Error
calling static void Method UserExitMain.main:
  org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userExitDataSource' defined in class path resource
[com/goldengate/atg/datasource/DataSource-context.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public final com.goldengate.atg.datasource.GGDataSource
com.goldengate.atg.datasource.factory.DataSourceFactory.getDataSource()]
threw exception; nested exception is java.lang.NoClassDefFoundError:
javax/transaction/Transaction

Error occured in javawriter.c[568]: Could not create UserExitMain object
Error occured in javawriter.c[679]: Could not intialize Factory and Data
Source
Error occured in javauserexit.c[379]: Initializing Java user-exit failed
Error occured in javauserexit.c[102]: Fatal function failure, ABENDING
JAVAUSEREXIT: An error has occurred, please check the user exit log file

 

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