Oracle GoldenGate Java Adapter Stand-Alone Shell Script Fails, ERROR [Thread-1] (DataSourceFactory.java:104) - DataSource not properly initialized, state is 'UNSET' (expected 'STARTED'), datasource=null (Doc ID 1517169.1)

Last updated on JANUARY 18, 2017

Applies to:

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

Symptoms

Running the shell script run-sample.sh to test the javaue.properties file fails with the following error:.

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userExitDataSource' defined in class path resource [com/golden gate/atg/datasource/DataSource-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [pu blic final com.goldengate.atg.datasource.GGDataSource com.goldengate.atg.datasource.factory.DataSourceFactory.getDataSource()] threw exception; nested exception is java.lang.Uns atisfiedLinkError: com.goldengate.atg.userexit.callback.UserExitConfig.setProperty(Ljava/lang/String;Ljava/lang/String;)V

ERROR [Thread-1] (DataSourceFactory.java:104) - DataSource not properly initialized, state is 'UNSET' (expected 'STARTED'), datasource=null

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