My Oracle Support Banner

Error Executing Scenario with OdiStartScen Tool and startcmd.sh Script "com.oracle.cie.domain.CAMConfigException: getDBConfiguration(<MASTER_REPOSITORY_DATASOURCE>) -> null" (Doc ID 2556658.1)

Last updated on JULY 03, 2019

Applies to:

Oracle Data Integrator - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When executing the Oracle Data Integrator (ODI) startcmd.sh script from the command line to start a scenario on a J2EE agent, the following error occurs:

./startcmd.sh -INSTANCE=<AGENT_INSTANCE> OdiStartScen -SCEN_NAME=<SCENARIO_NAME> -SCEN_VERSION=-1 -CONTEXT=<CONTEXT> -LOG_LEVEL=5 -AGENT_URL=http://<AGENT_HOST>:<AGENT_PORT>/<web_application_context>

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  at oracle.odi.cam.OdiProperties.getProperty(OdiProperties.java:249)
  at oracle.odi.param.CliParameterReader._getParameterValue(CliParameterReader.java:162)
  at oracle.odi.param.CliParameterReader.getParameterValue(CliParameterReader.java:132)
  at oracle.odi.commandline.support.OdiParams.getFromReader(OdiParams.java:384)
  at oracle.odi.commandline.support.OdiParams.getMasterDbJdbcDriver(OdiParams.java:361)
  at oracle.odi.commandline.support.OdiParams.getOdiInstanceConfig(OdiParams.java:90)
  at oracle.odi.ToolRunner.initInstance(ToolRunner.java:39)
  at oracle.odi.ToolRunner.setConnectionParamsFromEnv(ToolRunner.java:133)
  at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:125)
  at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:51)
  at oracle.odi.ToolRunner.main(ToolRunner.java:85)
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at oracle.odi.cam.OdiProperties.getProperty(OdiProperties.java:246)
  ... 10 more
Caused by: java.lang.RuntimeException: ODI-1457: getDBConfiguration() failed. domainDir=<DOMAIN_PATH>/servers/<MANAGED_SERVER>, dirPath=<DOMAIN_PATH>/servers/<MANAGED_SERVER>/config, datasourceName=<MASTER_REPOSITORY_DATASOURCE>, cause=com.oracle.cie.domain.CAMConfigException: getDBConfiguration(<MASTER_REPOSITORY_DATASOURCE) -> null
  at oracle.odi.cam.DatabaseConfigurationProxy.(DatabaseConfigurationProxy.java:61)
  at oracle.odi.cam.DatabaseConfigurationProxy.getInstance(DatabaseConfigurationProxy.java:68)
  at oracle.odi.cam.OdiReposProperties.getDatabaseConfiguration(OdiReposProperties.java:48)
  at oracle.odi.cam.OdiReposProperties.getODI_MASTER_DRIVER(OdiReposProperties.java:198)
  ... 15 more
Caused by: com.oracle.cie.domain.CAMConfigException: getDBConfiguration(<MASTER_REPOSITORY_DATASOURCE) -> null
  at oracle.odi.cam.DatabaseConfigurationProxy.(DatabaseConfigurationProxy.java:57)
  ... 18 more

The scenario starts fine using startscen.sh.

Changes

 

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.