My Oracle Support Banner

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 NOVEMBER 09, 2018

Applies to:

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


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.\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"?>


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

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