Bad Return Type when Executing Published Connector from the Batch Execution (Doc ID 2241938.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Financial Services Data Integration Hub - Version 8.0.2 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

OFSAA Java 8/Weblogic 12.2.1/DIH 8.0.2

Executed published connector via the Batch Maintenance failed with below error.


Error

$FIC_DB_HOME/logs/DIHConExecution.log shows below:

TEST_COUNTRY_CONN OFSPFTINFO_TEST_ODI_LOAD_20161231_6 Task1 20161231
Run Scenario Called
Args[0] : /apps/u02/ofsaa/install
Args[1] : TEST_COUNTRY_CONN
Args[2] : OFSPFTINFO_TEST_ODI_LOAD_20161231_6
Args[3] : Task1
Args[4] : 20161231
Args[5] : NULL
FIC_HOME:/apps/u02/ofsaa/install/
[Mon Feb 13 17:44:40 IST 2017]~[ERROR]~ApplicationResources is not initialized. Please initialize vy restarting the container.
[Mon Feb 13 17:44:40 IST 2017]~[DEBUG]~Connection Type getting used -> null
[Mon Feb 13 17:44:41 IST 2017]~[INFO]~PreparedStatement Query: SELECT dsnid FROM dsnmaster order by DSNID
[Mon Feb 13 17:44:41 IST 2017]~[DEBUG]~Calling executeQuery
[Mon Feb 13 17:44:42 IST 2017]~[DEBUG]~Calling close
[Mon Feb 13 17:44:42 IST 2017]~[ERROR]~ApplicationResources is not initialized. Please initialize vy restarting the container.
[Mon Feb 13 17:44:42 IST 2017]~[DEBUG]~Connection Type getting used -> null
[Mon Feb 13 17:44:42 IST 2017]~[INFO]~PreparedStatement Query: select dsnm.dsnid, dbm.dbname, dbm.jdbcdrivername, dbm.jdbcconnstr, dbm.dbuserid, dbm.dbpasswd, dbm.dbtype from dsnmaster dsnm join db_master dbm on dbm.dbipaddress = dsnm.dbserver and upper(dbm.dbname) = upper(dsnm.dbname) where dsnm.dsnid in (?,?,?,?,?,?)
[Mon Feb 13 17:44:42 IST 2017]~[DEBUG]~Calling setString with index = 1, String = DEFIDB
[Mon Feb 13 17:44:42 IST 2017]~[DEBUG]~Calling setString with index = 2, String = OFSPFTINFO

...etc

INFO: work-session login successful
Feb 13, 2017 5:44:47 PM org.eclipse.persistence.default.connection
INFO: login successful
Feb 13, 2017 5:44:47 PM com.ofs.reveleus.DIH.global.DIHLogger logThis
INFO: Exception cought in thread main - class java.lang.Thread
Thread[main,5,main] throws exception: java.lang.VerifyError: Bad return type
Exception Details:
Location:
oracle/odi/core/persistence/toplink/jpasessionbroker/SessionBroker2ServerSessionAdapter.getProject()Lorg/eclipse/persistence/core/sessions/CoreProject; @4: areturn
Reason:
Type 'org/eclipse/persistence/sessions/Project' (current frame, stack[0]) is not assignable to 'org/eclipse/persistence/core/sessions/CoreProject' (from method signature)
Current Frame:
bci: @4
flags: { }
locals: { 'oracle/odi/core/persistence/toplink/jpasessionbroker/SessionBroker2ServerSessionAdapter' }
stack: { 'org/eclipse/persistence/sessions/Project' }
Bytecode:
0x0000000: 2ab6 0123 b0


Steps:
1. Published DIH connector.
2. Batch Execution and execute defined batch.

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