OGG Application Adapter JMS Delivery Fails with 'cannot find resource ...' (Doc ID 1484768.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

The OGG Application Adapter for JMS is installed and configured.  The JMS EXTRACT is abending with the following:

***********************************************************************
Started Oracle GoldenGate for Java
Version 11.1.1.0.0 (Build: 007 20100729_065518)
Build details: AIX_53 [64 (64-bit); Java 5]; GG Java API: 11_1_1_0_0_006
***********************************************************************
....

Constructor threw exception; nested exception is com.goldengate.atg.util.ConfigException: Can not find resource: "/oracle/flashback/pallasrhea/goldengate/instances/ncsjms/dirprm/javaue.properties". ClasspathResourceLoader Error: cannot find resource /oracle/flashback/pallasrhea/goldengate/instances/ncsjms/dirprm/javaue.properties

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

Source Context :
 SourceModule            : [er.userexit]
 SourceID                : [/scratch/aime2/adestore/views/aime2_staxk11/oggcore/OpenSys/src/app/er/userexit.c]
 SourceFunction          : [handle_exit_return(short *)]
 SourceLine              : [400]

2012-08-09 14:03:21  ERROR   OGG-01126  Abending at user-exit request.

2012-08-09 14:03:21  ERROR   OGG-01668  PROCESS ABENDING.


The EXTRACT parameter file has:

EXTRACT JJTEST

SetEnv ( GGS_USEREXIT_CONF = "/oracle/flashback/pallasrhea/goldengate/instances/ncsjms/dirprm/cuserexit.properties" )

SetEnv ( GGS_JAVAUSEREXIT_CONF = "/oracle/flashback/pallasrhea/goldengate/instances/ncsjms/dirprm/javaue.properties" )

SetEnv (JAVA_HOME="/usr/java6_64")

SetEnv (PATH="/usr/java6_64/bin")

SetEnv (LD_LIBRARY_PATH="/usr/java6_64/jre/lib")

SetEnv (LIBPATH="/usr/java6_64/jre/lib/ppc64/j9vm")

--Run user exit command
CUserExit libggjava_ue.so CUSEREXIT PASSTHRU INCLUDEUPDATEBEFORES
SourceDefs /oracle/flashback/pallasrhea/goldengate/instances/ncsjms/dirdef/afdef.def

table TCS.*;

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