Running Sample .sh (shell) Script From GG_HOME Directory Causes Java Error, BeanCreationException: Error creating bean with name 'userExitDataSource' , java.lang.UnsatisfiedLinkErro

(Doc ID 1491329.1)

Last updated on JULY 17, 2017

Applies to:

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

Symptoms

 After installing the OGG Adapters, I am trying to run a shell script, sample.sh from GG_HOME directory and i am getting the following message.

----------------------------------------------------------
ggate@rhea-NCSQAC1> ./run-sample.sh
+ classpath=./dirprm:./ggjava/ggjava.jar
+ java -classpath ./dirprm:./ggjava/ggjava.jar -Dlog4j.configuration=log4j.properties -DGGS_USEREXIT_CONF=./dirprm/javaue.properties gg.Console -op 15 -tx 4000 -producer
Run JMS Producer...
Exception in thread "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.UnsatisfiedLinkError: com/goldengate/atg/userexit/callback/UserExitConfig.setProperty(Ljava/lang/String;Ljava/lang/String;)V
      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMe

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