"ODI-17523: There Is No Connection For This Logical Schema / Context Pair" Message is Received in ODI after Having Smart Imported Artifacts from a Different Environment

(Doc ID 2382687.1)

Last updated on APRIL 16, 2018

Applies to:

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

Symptoms

After having successfully smart imported artifacts from an Oracle Data Integrator (ODI) environment ENV1 into another ODI environment ENV2, the executions in ENV2 fail, and the following message is received:

ODI-1217: Session MYSESSION (xxxxx) fails with return code 7000.
ODI-1280: The Target Logical Schema MYLOGICALSCHEMA and Context MYCONTEXT of the task Update Process are not mapped to any Physical Schema.
Caused By: com.sunopsis.core.SnpsInexistantSchemaException: ODI-17523: There is no connection for this logical schema / context pair: MYLOGICALSCHEMA / MYCONTEXT.
  at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContext(SnpConnect.java:239)
  at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java:193)
  at com.sunopsis.dwg.dbobj.SnpSessTask.getDefaultConnection(SnpSessTask.java:415)
  at com.sunopsis.dwg.dbobj.SnpSessStep.getTargetDataServer(SnpSessStep.java:1409)
  at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:701)
  at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
  at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
  at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1931)
  at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
  at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
  at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
  at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1073)
  at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
  at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
  at java.lang.Thread.run(Thread.java:682)

To be noted that prior to the import, the same execution succeeds.

Under the Topology, it can be determined that the Logical Schema /Context association from the above message was reset to <Undefined> during the smart import process.

Changes

 

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