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 11, 2023
Applies to:
Oracle GoldenGate - Version 11.1.1.1.2 and laterInformation 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
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 |