CSV to Oracle - (Integration) fails on the target ORACLE connection

Hi,
I am trying to load data from a csv file into Oracle db via ODI.
Here are the steps i followed:
1- Created the FILE physical schema
1- Created the Oracle data server and physical schema in Physical Architecture
2- Created and linked to logical schemas
3- Created the correspondent data models and stores and a
ble to view the data contents of the CSV and of the target table in ODI.
4- Created interface, added csv as source and oracle table as target
5- Used "LKM File to SQL" and "IKM SQL Control Append" (FLOW_CONTROL is false)
When i execute the interface, the session starts then i receive the following wrror in Operator:
ODI-1228: Task ARIBA_G1 (Integration) fails on the target ORACLE connection DEV_DW.
Caused By: java.sql.SQLException: Non supported SQL92 token at position: 116
at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:1319)
at oracle.jdbc.driver.OracleSql.parse(OracleSql.java:1190)
at oracle.jdbc.driver.OracleSql.getSql(OracleSql.java:341)
at oracle.jdbc.driver.OracleSql.getSqlBytes(OracleSql.java:649)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
This is the Code section:
BeanShell script error: Sourced file: inline evaluation of: ``if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert int . . . '' : Typed variable declaration : Error in method invocation: Method getDataSetMin() not found in class'com.sunopsis.dwg.snpreference.SnpReferenceInterne' : at Line: 25 : in file: inline evaluation of: ``if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert int . . . '' : odiRef .getDataSetMin ( )
BSF info: Insert new rows at line: 0 column: columnNo
if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert into\t") ;
out.print(odiRef.getTable("L","TARG_NAME","A")) ;
out.print(" \n( \n\t") ;
out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
out.print(" \n\t") ;
out.print(odiRef.getColList(",", "[COL_NAME]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
out.print(" \n) \nselect\t") ;
out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
out.print(" \n\t") ;
out.print(odiRef.getColList(",", "[EXPRESSION]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
out.print(" \nfrom\t") ;
out.print(odiRef.getTable("L","INT_NAME","A")) ;
out.print(" \n") ;
} else { out.print(" \ninsert into\t") ;
out.print(odiRef.getTable("L","TARG_NAME","A")) ;
out.print(" \n( \n\t") ;
out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
out.print(" \n\t") ;
out.print(odiRef.getColList(",", "[COL_NAME]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
out.print(" \n) \n\nselect\n    ") ;
out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
out.print("   \n  ") ;
out.print(odiRef.getColList(",", "[EXPRESSION]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
out.print(" \nFROM (\t\n") ;
for (int i=odiRef.getDataSetMin(); i <= odiRef.getDataSetMax(); i++){out.print("\n") ;
out.print(odiRef.getDataSet(i, "Operator")) ;
out.print("\nselect \t") ;
out.print(odiRef.getPop("DISTINCT_ROWS")) ;
out.print("\n\t") ;
out.print(odiRef.getColList(i,"", "[EXPRESSION] [COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
out.print(" \nfrom\t") ;
out.print(odiRef.getFrom(i)) ;
out.print("\nwhere\t") ;
if (odiRef.getDataSet(i, "HAS_JRN").equals("1")) { out.print("\n\tJRN_FLAG <> 'D'\t") ;
} else {out.print("\t(1=1)\t") ;
} out.print("\n") ;
out.print(odiRef.getJoin(i)) ;
out.print("\n") ;
out.print(odiRef.getFilter(i)) ;
out.print("\n") ;
out.print(odiRef.getJrnFilter(i)) ;
out.print("\n") ;
out.print(odiRef.getGrpBy(i)) ;
out.print("\n") ;
out.print(odiRef.getHaving(i)) ;
out.print("\n") ;
}out.print("\n) ") ;
out.print(odiRef.getInfo("DEST_TAB_ALIAS_WORD")) ;
out.print(" ODI_GET_FROM\n\n") ;
} out.print("\n") ;
****** ORIGINAL TEXT ******
<%if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { %>
insert into <%=odiRef.getTable("L","TARG_NAME","A")%>
<%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
<%=odiRef.getColList(",", "[COL_NAME]", ",\n\t", "", "((INS and TRG) and REW)")%>
select <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
<%=odiRef.getColList(",", "[EXPRESSION]", ",\n\t", "", "((INS and TRG) and REW)")%>
from <%=odiRef.getTable("L","INT_NAME","A")%>
<% } else { %>
insert into <%=odiRef.getTable("L","TARG_NAME","A")%>
<%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
<%=odiRef.getColList(",", "[COL_NAME]", ",\n\t", "", "((INS and TRG) and REW)")%>
select
    <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>  
  <%=odiRef.getColList(",", "[EXPRESSION]", ",\n\t", "", "((INS and TRG) and REW)")%>
FROM (
<%for (int i=odiRef.getDataSetMin(); i <= odiRef.getDataSetMax(); i++){%>
<%=odiRef.getDataSet(i, "Operator")%>
select  <%=odiRef.getPop("DISTINCT_ROWS")%>
<%=odiRef.getColList(i,"", "[EXPRESSION] [COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
from <%=odiRef.getFrom(i)%>
where <% if (odiRef.getDataSet(i, "HAS_JRN").equals("1")) { %>
JRN_FLAG <> 'D' <%} else {%> (1=1) <% } %>
<%=odiRef.getJoin(i)%>
<%=odiRef.getFilter(i)%>
<%=odiRef.getJrnFilter(i)%>
<%=odiRef.getGrpBy(i)%>
<%=odiRef.getHaving(i)%>
<%}%>
) <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> ODI_GET_FROM
<% } %>
Any suggestions are highly appreciated.
Mike

Hi Santy,
No, no error or bad files.
Actually the data are moved correctly into the temp table created by ODI, but not from there to the final target table.
I found out the reason though, the knowledge modules imported were from another ODI installation!
I made sure to import the proper KM and it worked.
Thanks!

Similar Messages

  • ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target

    Hi all,
    I am getting error while executing interface on error. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

    Hi all,
    I am getting error while executing interface on ODI. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

  • ODI-1228: fails on the target ORACLE connection.

    Hi,
    I tried running an interface, and encountered the following error:
    ODI-1228: Task Pop.ABC (Integration) fails on the target ORACLE connection Dev.
    Caused By: java.sql.SQLException: ORA-12170: TNS:Connect timeout occurred
    Kindly guide me what will be the reason of its failure.
    Thanks.

    Hi,
    It didnt work.
    The same error exists.
    The server is located at a remote location. So, what can be done to resolve this issue.
    Which value should be appropriate for the parameter to make it work for me?
    Thanks.

  • ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connectio

    Hi all,
    i received this error ...plz help me...
    i build process of data migration bt i received this error when i start exection of this process....
    ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connection odi_oracle.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    Have you selected the key column in target data store ?
    Bhabani
    http://dwteam.in

  • ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection

    Hi all. I am using ODI for the first time. Trying to import a flat file data into Oracle table.
    Flat file has 4 columns Empno,Ename,Deptno,Salary [2 rows]
    so is the Target Table in Oracle [All are VARCHAR2 data type] --Empty table
    I am using these KMs: CKM Oracle , IKM SQL CONTROL APPEND, LKM FILE TO SQL.
    When I execute this Interface, it fails with the following error message:
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection [Connection_Name]
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    I checked the Code and Source Code is null , Target Code is: Create Table schema.Load_{table_name} ( )
    With no columns in it.
    Can anyone help? I am using Oracle ODI 11G (11.1.1)
    Thanks in advance

    Hi,
    if i remember well ( i haven't ODI opened) LKM FILE TO SQL. needs to have all mapping done into staging area. Click on a column, check Staging Area symbol (hammer), save and re-execute.
    Remember to check that your mapping is enabled (just click on a column, first checkbox in property inspector)
    If it doesn't work please make some screenshot or at least post your execution code.
    Let us know

  • (Loading) fails on the target SUNOPSIS_ENGINE connection MEMORY_ENGINE.

    Hi
    I have run my first interface in ODI 11g and come up with the below error during the Loading KM phase. Can anyone suggest a way to fix?
    The background is that we are migrating from a 10g in a SQL Server environment to a 11g in an Oracle env. I export/imported the work rep and logical schemas. I imported the physical connections one by one since I couldn't import the master rep.
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection MEMORY_ENGINE.
    Caused By: java.sql.SQLException: unknown token
    +     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)+
    +     at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)+
    +     at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)+
    +     at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:597)+
    +     at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)+
    +     at $Proxy2.prepareStatement(Unknown Source)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:158)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)+
    +     at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)+
    +     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)+
    +     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)+
    +     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)+
    +     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)+
    +     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)+
    +     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)+
    +     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)+
    +     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)+
    +     at java.lang.Thread.run(Thread.java:662)+
    Caused by: org.hsqldb.HsqlException: unknown token
    +     at org.hsqldb.error.Error.error(Unknown Source)+
    +     at org.hsqldb.error.Error.error(Unknown Source)+
    +     at org.hsqldb.ParserBase.read(Unknown Source)+
    +     at org.hsqldb.ParserDQL.readNewSchemaObjectName(Unknown Source)+
    +     at org.hsqldb.ParserDDL.compileCreateTable(Unknown Source)+
    +     at org.hsqldb.ParserDDL.compileCreate(Unknown Source)+
    +     at org.hsqldb.ParserCommand.compilePart(Unknown Source)+
    +     at org.hsqldb.ParserCommand.compileStatement(Unknown Source)+
    +     at org.hsqldb.Session.compileStatement(Unknown Source)+
    +     at org.hsqldb.StatementManager.compile(Unknown Source)+
    +     at org.hsqldb.Session.execute(Unknown Source)+
    +     ... 27 more+

    Still getting the error 'Unknown Token' when using the SUNOPSIS_MEMORY_ENGINE (LKM SQL to SQL).
    I have updated the KM to 11g
    I can run successfully using an Oracle db for staging, so it is just using the SUNOPSIS_MEMORY_ENGINE that causes a problem.
    Cheers

  • ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target

    I get this error when trying to run PRD-create-populate-table from Oracle by example ODI
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    the specified constraints name is still used. Please check if you are having the order correctly ie drop table , create and insert and check if the table is dropped , if still the constraints is there then drop it from database

  • ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connec

    Hi,
    When we are trying to load data from MSSQL Server to Hyperion Essbase i am getting below error
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)*
    *     at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)*
    *     at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)*
    Thanks
    Rama

    as written here
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2421461
    Please us the no_batch_update or nobu as false in the JDBC URL of the Topology Navigator. &nobu=false

  • ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connec

    Hi
    i am trying to exporting the database table data into excel sheet i am getting the below error.
    ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connection Ms_EXCE_TGT.
    Caused By: java.sql.SQLException: [Microsoft][ODBC Excel Driver] 'C$_0Location' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.
    Code:
    create table "C$_0Location"
         C1_POSITION_DEFINITION_ID     VARCHAR(255) ,
         C2_SUMMARY_FLAG__________     VARCHAR(255) ,
         C3_ENABLED_FLAG__________     VARCHAR(255)
    Edited by: 985498 on May 15, 2013 4:06 AM

    The odbc driver doesn't seem to like the special character "$" int eh table name.
    Why is the C$ table being created on through the odbc driver. You cannot have non-sql technology for staging. Making the staging area different than target should help in your case.

  • Data Protector backup integration fails after upgrade to Oracle 11.2.0.2

    After upgrading a system from Oracle 10.2.0.2 to 11.2.0.2, the Data Protector backup integration fails with error
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:21
         Backup session 2011/04/28-74 started.
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:21
         OB2BAR application on "<sap_host>.<domain>" successfully started.
    /usr/sap/<SID>/SYS/exe/run/brbackup: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    [Major] From: OB2BAR_OMNISAP@pervs<SID>.<domain> "OMNISAP"  Time: 04/28/11 09:10:21
         BRBACKUP /usr/sap/<SID>/SYS/exe/run/brbackup -t online -d util_file_online -c -m all -u system/******** returned 127
    /usr/sap/<SID>/SYS/exe/run/brarchive: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    [Major] From: OB2BAR_OMNISAP@pervs<SID>.<domain> "OMNISAP"  Time: 04/28/11 09:10:21
         BRARCHIVE /usr/sap/<SID>/SYS/exe/run/brarchive -d util_file -s -c -u system/******** returned 127
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:22
         OB2BAR application on "<sap_host>.<domain>" disconnected.
    [Critical] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:22
         None of the Disk Agents completed successfully.
         Session has failed.
    We checked the configuration, tried linking /oracle/client/11x_64 to 10x_64, removing the link and renewing the 10x_64 oracle client, but still Data Protector can't find the library libclntsh.so.10.1. A new system which was installed with Oracle 11.2.0.2 doesn't have any problems with online backups.
    Any help is appreciated!

    Hi,
    did you create the other link according to the upgrade guide (point 5.5) ?
    You need to create this link so that BR*Tools
    (which is linked to the Oracle 10.2 client)
    can use the newer Oracle 11.2 clients.
    After the software installation has finished,
    create a symbolic link in $ORACLE_HOME/lib as follows:
    cd $ORACLE_HOME/lib
    ln u2013s libnnz11.so libnnz10.so
    or (HP-UX)
    ln u2013s libnnz11.sl libnnz10.sl
    Volker
    Second part: For the DP job, there can be set different environment settings inside the DP job.
    Did you check if there are still relicts from the previous release ?
    You could integrate a small pre-exec script into the job and let it plot the output of
    id
    env
    set
    to a logfile, just to see which values the backup is using.
    Edited by: Volker Borowski on Apr 29, 2011 10:12 AM

  • Demote Server and Remove AD DS Role fails with "the target principal name is incorrect"

    Hi all, 
    I am attempting to demote a domain controller so i can remove the AD DS role and have the server just its own workstation.
    This domain controller has never replicated the domain and DS services were/are not working.  We didnt discover this until the other domain controller died and has since been rebuilt with a brand new domain.  The old domain no longer exists whatsoever.
    So as said, I'm trying to demote this server, there is no domain to tidy up afterwards.  However even with force removal option I'm getting the DFS Replication error: "the target principal name is incorrect".  I do not exactly require
    it do this myself, there is nothing to replicate anymore, i just need the DC demoted or role completely removed.  There are no other DC's to transfer FSMO's or anything like that as its to be completely stand-alone.
    Does anyone have any ideas how this role can be forcibly removed other than using the " force removal option " in ADDS config wizard?  
    Any help will be gratefully appreciated.
    Thanks in advance
    Phill

    Hi Phill,
    You can try to use Ntdsutil.exe to perform metadata cleanup.
    If this doesn’t work, then I agree with Ed that you would need to reinstall the machine.
    More information for you:
    Clean Up Server Metadata
    http://technet.microsoft.com/en-us/library/cc816907(v=WS.10).aspx#bkmk_commandline
    Best Regards,
    Amy

  • Oracle error #1722 in the target program

    HI ALL,
    From the emp table I have made myemp table having only four fields. I am trying to use cursor to populate data in my new table and I am getting above mentioned error.
    PROCEDURE SP_CURSOR ( p_empno out emp.empno%type,
    p_ename out emp.ename%type,
    p_job out emp.job%type,
    p_deptno out emp.deptno%type)
    IS
    v_emp emp%rowtype;
    cursor v_cursor is select * from emp where deptno = 20;
    BEGIN
    open v_cursor;
    loop
    fetch v_cursor into v_emp;
    exit when v_cursor%notfound;
    p_empno := v_emp.empno;
    p_ename := v_emp.ename;
    p_job := v_emp.job;
    p_deptno := v_emp.deptno;
    insert into myemp values(p_ename,p_ename,p_job,p_deptno);
    end loop;
    close v_cursor;
    exception when others then
    raise;
    END; -- Procedure
    ANy ideas?
    Thanx
    Mayur
    null

    Looks like you are trying to insert p_ename into emp no column. there will be a data mismatch and you will get error 1722.
    HTH,
    -ramesh

  • Yosemite UPGRADE, Apps that I try to update fail with the message that connection to App Store failed, then i get a message that the updates were purchased by another user ID or purchase cancelled. All five updates have this error

    AFTER I UPGRADED TO YOSEMITE, I TRIED TO UPDATE THE FIVE APPS THAT I WAS BEING NOTIFIED NEEDED UPGRADING (IMOVIE, IPHOTO ETC). I TRIED TO UPDATE VIA THE APP STORE BUT GOT A MESSAGE "UPGRADE NOT POSSIBLE WITH THIS APPLE ID BECAUSE IT WAS EITHER BOUGHT BY A DIFFERENT USER OR THE ITEM WAS REFUNDED OR CANCELLED." I DO NOT HAVE A PROBLEM SIGNING ON TO ICLOUD OR ANY OF THE OTHER SERVICES USING MY APPLE ID, I ALSO CHANGED THE PASSWORD AT THE PROMPTING. SO I'M NOT SURE WHAT IT MEANS. WHAT CAN I DO TO UPDATE MY APPLICATIONS?

    Please test after each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes. Keep in mind that no one here represents Apple or can help with customer-service issues.
    Step 1
    A purchased app can only be updated by signing in to the App Store with the same Apple ID that was originally used to buy it. There's no way around that limitation, which also applies to free apps. If you can't sign in with the buyer's ID, delete the app and reinstall it. You'll have to pay for it again, if applicable.
    Step 2
    If you get the alert when trying to update a bundled iLife app, select the Purchases page in the App Store and locate the app in your purchase history. If there's a button marked ACCEPT on the right, click it.
    If you have a used Mac, the bundled apps were linked to the original owner's Apple ID and can't be transferred to you. Reportedly, customer service has issued redemption codes to some second owners who asked, but it's not guaranteed.
    Step 3
    If you're trying to update iLife or iWork apps that were installed from a purchased DVD, or if you have a refurbished Mac bought directly from Apple, contact App Store customer service for a redemption code. You may be asked for the part number of the DVD.
    Step 4
    From the App Store menu bar, select
              Store ▹ View My Account
    Enter your Apple ID password at the prompt. At the lower right corner of the window that opens, click the Reset button. Close the window.
    Step 5
    According to a report, the error can result from changing the language setting of your Apple ID account. I can't confirm.

  • Error: while populating the target.

    While populating the target table gettig the following error:
    ODI-1228: Task Int_HDM_IND_PRTY_ETHN (Export) fails on the target ORACLE connection ORACLE_ETLDEV_INOVA_3.
    Caused By: java.sql.SQLException: ORA-01471: cannot create a synonym with same name as object
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    Hi,
    Bottom line: The object name is already persist in ur back end DB.
    Login to ur back end schema and query,
    select * from all_objects where object_name like '<object name which ODI generate>%'
    Drop it manually and run the interface.
    Cause for the problem, initially u would have ran the same interface with different KM and opted DELETE_TEMPORARY_OBJECTS to False/ODI fails without dropping the temporary table, so ODI will keep the C$_<object name> in back end (may be in table form).
    Now, with DBLINK u are trying to create Synonym with the same name as the earlier object which eventually fails.
    Makes sense?
    Thanks,
    Guru

  • ODI 11g  (odi 11.1.1.3)  procedure failed -  Encountered the symbol "," ...

    Hi All,
    I am facing problem while calling PL/SQL procedure from ODI procedure:
    ODI Console show below error code on failure of procedure:
    =======================================================================
    ODI-1228: Task PR_RETRIVE_DATA (Procedure) fails on the target ORACLE connection SES_DW.
    Caused By: java.sql.SQLException: ORA-06550: line 1, column 30:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
    ================================================
    Thanks,
    Dharmaraj

    Hi,
    it seems there are compilation errors in your PL/SQL, leading to the ORA-06550 error. Check your PL/SQL code and try to execute it directly in the database to see if the issue is related to ODI.
    Regards,
    Alex

Maybe you are looking for

  • How do I keep an Edge Animate banner ad file size small?

    Most publishers cap the file size of banner ads at 30 KB to 50 KB. Is that possible using Edge? I know someone asked a question like this two years ago, and the reply was to use a CDN to serve the larger .js files. Is there a more direct approach now

  • ABAP Proxy guide?

    Dear all i am a ABAPer,as abap mapping is done, i am about to test ABAP proxy, my XI have two client(100, 200) for proxy. but it is not easy to understand ABAP proxy for me, even though i've read relevant to ABAP proxy on this site. and i could not f

  • Mini dvi adapter

    will the cords i bought a while back for my ipod to play photos on a tv(http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=7CB C356E&nplm=M9765G%2FB) work with this?: http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleSto

  • SRM - Duplicate Entries

    Hi , I have some duplicate  Vendor entries in the catalog against the product category. Can any one help me in getting tables on   Vendor- Product Category Entries in the catalog. I have checked BUT 000 and BIDCC tables but no use. Any Suggestions pl

  • Firefox does not save my settings when I reboot

    I have Windows 7 Ultimate. I was having problems with Firefox 3.6.16 crashing to the point where it wouldn't work. I uninstalled it and downloaded version 4 but had problems with it hanging all the time. I went through the help section, one of the th