Executing a Scenario from Command Line Fails With "ODI-1274: Agent Exception" Caused by "java.lang.RuntimeException: javax.xml.bind.UnmarshalException" (Doc ID 2211560.1)

Last updated on JUNE 26, 2017

Applies to:

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

Symptoms

In Oracle Data Integrator (ODI) 12.2.1, when executing a Scenario from command line using a Standalone Agent with the following string:

startscen.cmd -INSTANCE=OracleDIAgent1 TESTSCEN 001 GLOBAL -SESSION_NAME=MSER -AGENT_URL=http://localhost:20955/oraclediagent -NAME=OracleDIAgent1

... the execution fails with the following error:

C:\ODI_12.2.1.0.0_standalone\user_projects\domains\standalone_domain\bin>startscen.cmd -INSTANCE=OracleDIAgent1 TESTSCEN 001 GLOBAL -SESSION_NAME=MSER -AGENT_URL=http://localhost:20955/oraclediagent -NAME=OracleDIAgent1

2016-12-06 10:45:42.980 NOTIFICATION ODI-1633 OracleDI: Starting scenario TESTSCEN 001 in context GLOBAL ...

2016-12-06 10:45:44.058 ERROR null

2016-12-06 10:45:44.121 ERROR ODI-1131 Agent http://localhost:20955/oraclediagent encountered an error: ODI-1274: Agent Exception Caused by: http://localhost:20955/oraclediagent:java.lang.RuntimeException: javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,38]] PostMethod.getResponseBodyAsString(): [
<?xml version="1.0" encoding="UTF-8"?>
]



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