ODI Agent errors

Hi All,
My ODI server is Linux. I have the weblogic and manager started, and then started agent.sh got the following errors when agent.sh was started.
ODI-1436 Error retrieving ID statistics for work repository WORKREP.
Error occured while computing schedules for work repository [WORKREP]. Error message: ODI-10150 - Work repository ID1 is not bound to master.
Please let me know, what I need to do to fix this.
Thanks for your time and help.

for standalone agent, you don't even need to start weblogic(including managed server) which hold j2ee agent.
before run ./agent.sh -NAME -PORT
you need to configure odiparams.sh, besides those master repository information, eg: ODI_MASTER_DRIVER,
there is a
ODI_SECU_WORK_REP= (please use studio to get the work repository name)

Similar Messages

  • ODI Agent error: java.sql.SQLException: Invalid column name

    When running a scenairo on a standalone ODI agent, it hangs on "Wait" state. The ODI agent's log is logging the following errors over and over again.
    We are in Fusion Application Development and are using Middleware D8B4A RC5.
    [2011-01-07T14:35:16.381-08:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 4215] [ecid: 0000IpYbCrKE8TQRyaJ7D01D8^zE00009o,0] /oraclediagent/invoke.do[[
    oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:356)
    oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
    oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:418)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
    org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
    org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    org.mortbay.jetty.Server.handle(Server.java:326)
    org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
    org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:749)
    org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
    org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
    org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    [2011-01-07T14:35:18.341-08:00] [] [ERROR] [ODI-1131] [] [tid: 4214] [ecid: 0000IpYaiZCE8TQRyaJ7D01D8^zE00009n,0] [arg: OracleDiAgent] [arg: java.sql.SQLException: Invalid column name] Agent OracleDiAgent encountered an error: java.sql.SQLException: Invalid column name

    Are you sure the datasources point to the right master/work configuration, and that your repository is correctly up-to-date? This looks like the agent trying to connect a repository, but the repository is not updated correctly, or misses some columns. The whole stack (and the name of the missing column) would help of course.

  • ODI Agent error

    Hi John,
    I am using my ODI agent as a windows service. It was working fine.
    But now it is not running fine and when i have seen the log for it the following error is given
    Starting Oracle Data Integrator Agent...
    Version : 10.1.3.5 - 10/11/2008
    com.sunopsis.tools.core.exception.SnpsRuntimeException: java.sql.SQLException: Io exception: Invalid connection string format, a valid format is: "host:port:sid"
    at com.sunopsis.dwg.cmd.n.a(n.java)
    at com.sunopsis.a.f.run(f.java)
    at com.sunopsis.dwg.cmd.i.y(i.java)
    at com.sunopsis.dwg.cmd.i.run(i.java)
    When i trie to launch the agent from the batch file the command prompt is opening and shutting down immediately.
    Please let me know the solution

    If it is not working from batch then you need to check the odiparams.bat file, it is more than likely some of the information is not correct in it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error Adding ODI Agent to OPM-NModule libopmncustom: initialization failed

    Hi All
    I am getting an error when I try to add, remove or start and ODI Agent in OPMN. The Error is as follows:
    E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent\bin>odi_opmn_addagent.bat
    agentcreate.properties
    Module libopmncustom: initialization failed (proc set odiagent)
    Module libopmncustom initialization failed: disabled
    opmnctl reload: reconfiguring opmn...
    opmn status shows that the agent has been added but it is down and when I try to start it I get the following error:
    E:\Opmn1\Oracle_WT1\instances\instance2\bin>opmnctl startproc ias-component=ERPI
    DEVAGENT
    opmnctl startproc: starting opmn managed processes...
    ================================================================================
    opmn id=servername:6701
    no processes or applications matched this request
    Response: not enabled: libopmncustom
    I can start and successfully test the agent using the agent_DEVAGENT.bat file but the problem seems to be adding it to OPMN.
    -This issues seems to be that the OPMN module libopmncustom failed to initialize properly and hence has been disabled. I cannot see how I can enable it and test again.
    I have tried the following to resolve the issue
    1. Removed the agent and restarted it
    2. Restarted the OPMN service
    3. Restarted the server
    4. Reinstalled ODI as well as the Stand Alone Agent
    5. Uninstalled OPMN and installed it to a different location
    Has anyone come across this and could you please give me a few pointers of what I can look at. The configs that I have are as follows
    ODI Version : 11.1.5.0_generic_110422.1001
    OPMN Version : 11.1.1.3
    OS : Server 2008 STD R2 x64
    ODI and OPMN are running on the same machine.
    Agentcreate.properties file:
    # Use / as path seperator to specify path in Unix as well as Windows.
    ORACLE_ODI_HOME=E:/Oracle/products/11.1.1/Oracle_ODI_1
    INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
    COMPONENT_TYPE=odiagent
    COMPONENT_NAME=DEV_AGENT
    ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
    ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
    ODI_MASTER_USER=ODI_MASTER
    ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
    ODI_SECU_WORK_REPO=ODI_WORK
    ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
    PORTNO=90210
    JAVA_HOME=E:/Oracle/Middleware/jdk160_21
    ORACLE_OPMN_HOME=E:/Opmn1/Oracle_WT1
    JMXPORTNO=91210
    ODI_OPMN_ADDAGENT
    @echo off
    REM #
    REM # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
    REM #
    setlocal
    for %%a in ("/HELP" "/help" "-HELP" "-help") do if %%a == "%1" goto HELPTEXT
    goto STARTCOMMAND
    :HELPTEXT
    echo.
    echo (c) Copyright Oracle. All rights reserved.
    echo.
    echo PRODUCT
    echo Oracle Data Integrator
    echo.
    echo FILENAME
    echo odi_opmn_addagent.bat
    echo.
    echo DESCRIPTION
    echo Adds agent entry in opmn.xml file.
    echo.
    echo SYNTAX
    echo odi_opmn_addagent ["<agent create property file name>"]
    echo.
    echo PREREQUISITES
    echo The Agent Create PropertyFile INFORMATION should be
    echo completed before running this script.
    echo.
    goto ENDCOMMAND
    :STARTCOMMAND
    if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent
    REM call "%ODI_HOME%\bin\odiparams.bat"
    if "%OPMN_HOME%" == "" set OPMN_HOME=E:/Opmn1/Oracle_WT1
    if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
    REM set CLASSPATH=%ODI_CLASSPATH%;%OPMN_HOME%\opmn\lib\opmneditor.jar
    set CLASSPATH=%ODI_HOME%\lib\odi-standalone-agent.jar;%OPMN_HOME%\opmn\lib\opmneditor.jar;%ODI_HOME%\..\..\setup\manual\oracledi-sdk\oracle.odi-sdk-jse_11.1.1.jar
    java -classpath %CLASSPATH% oracle.odi.AddAgentToOpmn %*
    CALL %INSTANCE_HOME%\bin\opmnctl reload
    :ENDCOMMAND
    ODI PARAMS
    REM #
    REM # Repository Connection Information
    REM #
    set ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
    set ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
    set ODI_MASTER_USER=ODI_MASTER
    set ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
    REM #
    REM # User credentials for agent startup program
    REM #
    set ODI_SUPERVISOR=SUPERVISOR
    set ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
    REM #
    REM # User credentials for ODI tools
    REM #
    set ODI_USER=%ODI_SUPERVISOR%
    set ODI_ENCODED_PASS=%ODI_SUPERVISOR_ENCODED_PASS%
    REM #
    REM # Work Repository Name
    REM #
    set ODI_SECU_WORK_REP=ODI_WORK
    REM #
    REM # Connection retry parameters
    REM #
    set ODI_CONNECTION_RETRY_COUNT=0
    set ODI_CONNECTION_RETRY_DELAY=7000
    REM #
    REM # Java virtual machine
    REM #
    set ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
    REM #
    REM # Other Parameters
    REM #
    set ODI_INIT_HEAP=256m
    set ODI_MAX_HEAP=1024m
    set ODI_JMX_PROTOCOL=rmi
    REM #
    REM # Additional Java Options
    REM #
    set ODI_ADDITIONAL_JAVA_OPTIONS=
    REM # Windows 95,98, Me users only: Any package files added to the /drivers
    REM # or /lib/scripting directory should be manually declared in the
    REM # ODI_ADDITIONAL_CLASSPATH variable
    set ODI_ADDITIONAL_CLASSPATH=
    REM # DO NOT EDIT BELOW THIS LINE !
    REM # ----------------------------------------------------------------------------
    set ODI_JAVA_EXE=%ODI_JAVA_HOME%\bin\java.exe
    set ODI_JAVAW_EXE=%ODI_JAVA_HOME%\bin\javaw.exe
    set ODI_JAVAC_EXE=%ODI_JAVA_HOME%\bin\javac.exe
    REM # Testing the java virtual machine
    if not exist "%ODI_JAVA_EXE%" goto NOJAVA
    if not exist "%ODI_JAVAW_EXE%" goto NOJAVA
    if not exist "%ODI_JAVAC_EXE%" goto NOJAVAC
    goto OKJAVA
    :NOJAVA
    @echo The Java Virtual Machine was not found at the following location: %ODI_JAVA_HOME%
    @echo The ODI_JAVA_HOME environment variable is not defined correctly.
    @echo Please set this variable in odiparams.bat.
    goto OKJAVA
    :NOJAVAC
    @echo A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
    goto OKJAVA
    :OKJAVA
    if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1
    REM # Change the current directory to %ODI_HOME%/bin
    cd "%ODI_HOME%\bin"
    Environmental Variables
    JAVA_HOME=E:\Javax86\jdk1.6.0_29
    ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
    \WindowsPowerShell\v1.0\;E:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Meran
    t\6.0\Drivers;E:\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas\console\bi
    n;E:\Javax86\jdk1.6.0_29;E:\Javax64\jdk1.6.0_29;E:\Opmn1\Oracle_WT1\bin;E:\Opmn1
    \Oracle_WT1\opmn\bin;E:\Opmn1\Oracle_WT1\opmn\lib;E:\Opmn1\Oracle_WT1\perl\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    Could someone please help me with this.
    Thanks
    Edited by: 800166 on 18/05/2012 00:39

    Solved the problem by dropping and recreating the user schema and all its objects, reinstalling and configuring both ODI and OPMN.
    If you ever come across the problem I recommend the above, you will save yourself hours of troubleshooting

  • ODI Agent Test Error

    I'm having difficulty setting up ODI. I've been following John's excellant blog. so far I've created the master repository. In topology manager, I have created the connection, the dataserver ,the work repository, the agent & context.
    When I try to test the agent I get the following error:
    --------------- begin error msg ------------------------
    C:\OraHome_1\oracledi\bin>AgentScheduler "-port=20300" "-name=odi_demo_agent"
    A JDK is required to execute Web Services with OracleDI. You are currently usin
    a JRE.
    OracleDI: Starting Scheduler Agent ...
    java.lang.IndexOutOfBoundsException: toIndex = 138
    at java.util.SubList.<init>(Unknown Source)
    at java.util.RandomAccessSubList.<init>(Unknown Source)
    at java.util.AbstractList.subList(Unknown Source)
    at com.sunopsis.d.a.g.a(g.java)
    at com.sunopsis.d.a.c.a(c.java)
    at com.sunopsis.d.a.f.b(f.java)
    at com.sunopsis.tools.core.SnpsStringTools.b(SnpsStringTools.java)
    at com.sunopsis.dwg.DwgObject.snpsDecypher(DwgObject.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    ----------------- end error message --------------
    Obviously something is not right.
    I'm unclear as to the entry for ODI_SECU_WORK_REP in ODIPARMS. Is it the dataserver name that was set up in the repository, the Work name in the repository or the actual sqlserver database name for the work repository?
    Thanks,
    Dave

    Hi,
    Here is an example of an odiaparams.bat
    set ODI_SECU_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
    set ODI_SECU_URL=jdbc:sqlserver://odimachine:1433;SelectMethod=cursor;databaseName=odi_master;integratedSecurity=false
    set ODI_SECU_USER=hypdb
    set ODI_SECU_ENCODED_PASS=cByXKqrOj5h8XMUV,3OnOny
    set ODI_SECU_WORK_REP=WORK_REPOS
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    The ODI_SECU_WORK_REPOS relates to the name of your work repository
    ODI_SECU_ENCODED_PASS requires an encoded password using the agent encode password
    ODI_USER & ODI_ENCODED_PASS can be kept as default
    Also make sure you have created the agent in the topology manager before starting the agent up.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception

    Hi,
    Can some one provide a resolution for below error:
    I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
    using LKM File to SQL, IKM Sql Control Append.
    I am getting below error when executing the interface :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location>
    BSF info: Create external table at line: 0 column: columnNo
    at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
    at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
    ... 11 more
    Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
    out.print("createTblCmd = r\"\"\"\ncreate table ") ;
    out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
    out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022[DEST_WRI_DT]
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n
    t", "","")) ;
    out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
    out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
    out.print("'\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
    out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
    out.print("\n\t\tBADFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
    out.print("\n") ;
    if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    } else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
    out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
    out.print("'\n\t\t") ;
    if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
    } else {out.print("OPTIONALLY ENCLOSED BY '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
    out.print("' AND '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
    out.print("' ") ;
    }out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    }out.print("\tLOCATION (") ;
    out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
    out.print(")\n)\n") ;
    out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
    out.print("\nREJECT LIMIT ") ;
    out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
    out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
    ****** ORIGINAL TEXT ******
    createTblCmd = r"""
    create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t", "","")%>
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dat_dir
    ACCESS PARAMETERS
    RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
    <%=odiRef.getUserExit("EXT_CHARACTERSET")%>
    <%=odiRef.getUserExit("EXT_STRING_SIZE")%>
    BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
    LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
    DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
    SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
    <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
    FIELDS
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%} else {%>
    FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
    <% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
    <%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
    <%=odiRef.getUserExit("EXT_PARALLEL")%>
    REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
    # Create the statement
    myStmt = myCon.createStatement()
    # Execute the trigger creation
    myStmt.execute(createTblCmd)
    myStmt.close()
    myStmt = None
    # Commit, just in case
    myCon.commit().
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

    Hi
    I saw your issue and found one think that "String index out of range", can you please compare the columns datatype and column size with target table and ODI table.
    ODI Table:
    After Reverse Engine, CSV changed into table format can you please open the table from designer>model>csv table and goto columns tab, it will list out the all column name datatype and size. compare the column size and type with your target table.
    hope this will resolve your issue.
    Regards,
    Phanikanth

  • ODI agent creation issue

    Hi,
    I am trying to create ODI agent in Windows. I have followed the steps in ODI set up document. It has launched the server. Now I am trying to create that as a windows service. But I am getting following error message.
    I ran the followiing the command line
    <ODI_HOME>\bin\agentservice -i -s Sched_Agent 20910
    The error I am getting is
    "FATAL | wrapper | The argument 'Files\Java\jdk1.5.0_12\bin\java.exe' is not a valid property name-value pair."
    I have 10.1.3.5.5
    My ODI_JAVA_HOME is pointing to C:\Program Files\Java\jdk1.5.0_12. Is this the issue for the error
    Anyone knows why its happening.
    -app
    Edited by: user6401072 on Jul 28, 2010 11:35 AM

    The reason is becuase you JDK path is some thing like this c:\program files\Java\jdk1.5.0_12\bin\java.exe'
    so what is the happening becuase of space between program and files its not picking up the correct JDK path .
    Either change the path of JDK installation or
    go to your odiparam path and go to this line
    if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME="c:\program files\Java\jdk1.5.0_12"
    or
    if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME='c:\program files\Java\jdk1.5.0_12'
    i dont remember exactly whether single or double quotes but try and let me know if that helps you

  • ODI agent may not running

    dear all,
    odi agent test successfully, update the scheduling successfully but when pressing the scheduling information it give error
    "ODI agent may not running"
    kindly solve the issue
    regards
    Naseer

    Hi Ratish,
    Following are the things i did and things which are happening .. :)
    created a scenario and scheduled it.
    And from Topology Man.. Agent Window... clicked on "Update Scheduling"... Output is "Planning Update is Completed" and when i click on Schedule Information" it is throwing warning saying... "Unable to retrieve Agents Schedule"... and my scheduled job is also not executed at scheduled time.
    Any idea what could be the problem?
    Thanks in advance.
    Regards,
    Amar

  • ODI Agent Test Start is Wrong

    Hi,
    I've been following John's excellant blog. I've created the master repository. In topology manager, I have created the connection, the dataserver, the work repository, the agent and context. I've updated odiparams.bat (http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html)
    I try to test of start ODI Agent I get this error:
    C:\ODI>C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
    The system cannot find the path specified.
    OracleDI: Starting Scheduler Agent ...
    'oracle.odi.Agent' is not recognized as an internal or external command, operable program or batch file.
    My start agent .bat file:
    C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
    My odiparams file:
    rem
    rem Repository Connection Information
    rem
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@oradbserver:1521:TEST;selectMethod=cursor;databaseName=ODI_MASTERREP;integratedSecurity=false
    set ODI_SECU_USER=ODI_MASTERREP
    set ODI_SECU_ENCODED_PASS=erfa,mE7dy,q8gPvKnjVAb.n8a
    set ODI_SECU_WORK_REP=ODI_WORKREP
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    set ODI_INIT_HEAP=128m
    set ODI_MAX_HEAP=1024m
    set ODI_JAVA_EXE="%ODI_JAVA_HOME%\bin\java.exe"
    set ODI_JAVAW_EXE="%ODI_JAVA_HOME%\bin\javaw.exe"
    set ODI_JAVAC_EXE="%ODI_JAVA_HOME%\bin\javac.exe"
    OS Win 2003R2 32bit
    ODI 10.1.3.5.0 has been updated to 10.1.3.5.5 via Oracle Data Integrator Cumulative Patch and Application Adapters for Data Integration Media Pack.

    Hi,
    If you look in agentscheduler.bat the first lines are :-
    if "%ODI_HOME%" == "" set ODI_HOME=..
    call "%ODI_HOME%\bin\odiparams.bat"
    echo OracleDI: Starting Scheduler Agent ...
    In your output you have :-
    The system cannot find the path specified.
    It is trying to call "%ODI_HOME%\bin\odiparams.bat
    and it can't find the file.
    Do you have an windows environment variable set for ODI_HOME
    If not create one and set its value to C:\ODI\oracledi
    or update it to the path above
    It should then find odiparams.bat
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • If an internal ID is changed for the Work Repository how does it affect objects that are already in it?  Will they continue to run or do you need to cycle the ODI agent?

    I was having trouble migrating the Master and Work repositories from my QA to my Prod environment.  I was getting an error message that the internal id's were alike so I changed the internal id in my Prod Master repository.  Then I tried to migrate the Work repository and was getting a similar error.  I did a search on the internet for the error message and it recommended that I renumber the Work repository so I did.    My concern now is how these changes affect the objects that are already in the repositories?  Will those objects continue to run?  Also do these changes take affect immediately or do you need to cycle the ODI agent?

    Well I cannot completely assure you but so far I have not faced any issues after a renumber. It will affect the exist object only when you have imported the object in synonym_update mode. I believe you have the daily backup of your production repository.
    Bhabani
    http://dwteam.in

  • Exception: ODI-17517: Error during task interpretation.

    did anyone ever come across this error, please help me ..............i'm struck here
    error message :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
    Task: 11
    java.lang.Exception: BeanShell script error: Parse error at line 2, column 10. Encountered: ( BSF info: Extract Data at line: 0 column: columnNo
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
         at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         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:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Parse error at line 2, column 10. Encountered: ( BSF info: Extract Data at line: 0 column: columnNo
         at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
         at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
         ... 11 more

    Hi Drona,
    What were you doing when the error occurred?
    Michael R.

  • Reverse Engineering Error ODI-17517: Error during task interpretation ODI-15068: Unknown flexfield code

    Dear Experts
    In process Reverse Engineering using RKM SAP ERP but error this result.
    Reverse Engineering
    View image: r e logalagent test
    Error
    View image: r e logalagent error
    Error text
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
    Task: 2
    java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:809)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)
      ... 11 more
    Caused by: org.apache.bsf.BSFException: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
      at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
      ... 11 more
    Texto: //Command Name: Initialize
    import com.sap.mw.jco.*;
    import java.sql.Connection;
    import java.util.ResourceBundle;
    import java.util.Date;
    //Initializing resourceBundle
    odiSapErpResourceBundle = new OdiSapErpResourceBundle();//resourceBundle object to initialize & load resources
    odiSapErpResourceBundle.initializeResource();//initializing/loading resources
    resourceBundle = odiSapErpResourceBundle.getResourceBundle();
    //Check the ODI Release
    //Initialize Open Tool log file name
    //Initializing logger
    String logFileName = "";
    logFileName = <@=odiRef.getQuotedString("<?=new File(System.getProperty("java.io.tmpdir"),"sap_rkm_erp_"+odiRef.getSession("SESS_NO")+".log").toString()?> ") @>;
    OdiSapLogger sapLogger = new OdiSapLogger(logFileName, resourceBundle);
    sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"SAP ERP RKM - Initialize step.."} );
    //Check whether Table or View checkbox selected
    typeOfObject = "T";
    if ((";AT;Q;SY;ST;T;V;").indexOf(";V;") > -1)
      typeOfObject = "V";
    if ((";AT;Q;SY;ST;T;V;").indexOf(";T;") > -1)
      typeOfObject = "T";
    //Initializing SAP Connector
    OdiSAPERPAdapter odiSapERPAdapter = new OdiSAPERPAdapter(sapLogger, odiSapErpResourceBundle);
    odiSapERPAdapter.setObjectType(typeOfObject);
    //Helper object
    OdiSAPERPMetadataHelper odiSAPERPMetadataHelper = new OdiSAPERPMetadataHelper(odiSapERPAdapter, sapLogger);
    <?
    // SAP connection properties get from Topology Manager Defintions
    String hostName = odiRef.getInfo("SRC_DSERV_NAME");//SRC_DSERV_NAME
    String userName = odiRef.getInfo("SRC_USER_NAME");
    String password = odiRef.getInfo("SRC_PASS");
    String systemNo = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_SYSTEM_NUMBER" );
    String sapClient = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_CLIENT" );
    String language = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_LANGUAGE" );
    ?>
    //Setting the SAP Connection
    odiSapERPAdapter.setSAPConnection("<?=hostName?>", "<?=systemNo?>", "<?=sapClient?>", "<?=language?>", "<?=userName?>", "<?=password?>", null, null);
    //Get the repository connection
    Connection repoConnection = odiRef.getJDBCConnection("DEST");
    sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"repoConnection: "+repoConnection});.
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:837)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    What I must correct?
    What other tests can I perform?
    Thanks for any light

    Dear Expert
    Still facing this problem.
    I did several tests, changing flexfields in physical topology and the parameters of RKM.
    But the result is always the same.
    What else could do.
    The doubt remains.
    Should be poss edit details.
    >> >>> review history this post <<<<<
    I can not enter values in JDBC because the JDBC option is not active.
    Any light, suggestion or critics is welcome.
    Also I have a SR open with serveridade 1 in orcl.
    Thanks for All

  • ODI AGENT STARTUP FAILED

    Dear All,
    While starting ODI agent,its failing with the below error
    2011-07-06 10:05:41.104 NOTIFICATION ODI-1128 Agent ODI_AGENT is starting. Application Server: STANDALONE. Agent Version: 11.1.1.5.0 - 22/04/2011. Port: 4999. JMX Port: 5999.
    2011-07-06 10:05:55.170 NOTIFICATION ODI-1136 Starting Schedulers on Agent ODI_AGENT.
    2011-07-06 10:06:55.677 WARNING 2006 Error occurred while computing schedules for work repository [WORKREP]. Error message : org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
    2011-07-06 10:06:55.729 ERROR ODI-1131 Agent ODI_AGENT encountered an error: ODI-1406: Agent ODI_AGENT started with warning: JDBC connection error occurs while connecting to the work repository WORKREP. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
    Need help in order to solve this case.

    Hi
    Make sure that JDK 1.6.0_21 or higher version insatlled in your PC.
    Have you installed RCU 11g before ODI 11g installation.
    If not, please installed it and later start the ODI 11g installation.
    Open odiparams.bat/sh file.
    encode the master repository password using enocde.cmd/sh and paste the same encoded password on odiparams.bat/sh file
    check MASTER DB Crredentials/Master repository login credentials/ work repository details are properly setuped or not.
    check JDBC URL
    check ODI_JAVA_HOME path seted in your PC
    ODI_JAVA_HOME=d:\Oracle\Middleware\jdk160_21 in case weblogic installed before ODI 11g other wise
    ODI_JAVA_HOME=c:\Program files\Java\jdk1.6.0_21\bin at Windows (setup it on environment variable) at linux export the ODI_JAVA_HOME path using "export" command
    run the ODI agent and check whether it is running or not.
    Hope this may helps you.
    Thanks,
    Phani

  • ODI-17517: Error during task interpretation

    Hi Gurus,
    I try execute my interface, and ODI gives me this error. Does anybody knows what is this? I try to load essbase cube with ODI.
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
    Task: 2
    java.lang.Exception: The application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName("L", "FACT_CUR", "LOG_ORACLE_DATABASE_PERO", "ESSBASE_CONTEXT", "D") : SnpPschemaCont.getObjectByIdent :  SnpPschemaCont does not exist BSF info: Load data into essbase at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:737)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:724)
    Caused by: java.lang.Exception: The application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName("L", "FACT_CUR", "LOG_ORACLE_DATABASE_PERO", "ESSBASE_CONTEXT", "D") : SnpPschemaCont.getObjectByIdent :  SnpPschemaCont does not exist BSF info: Load data into essbase at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)
      ... 11 more
    Caused by: org.apache.bsf.BSFException: The application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName("L", "FACT_CUR", "LOG_ORACLE_DATABASE_PERO", "ESSBASE_CONTEXT", "D") : SnpPschemaCont.getObjectByIdent :  SnpPschemaCont does not exist BSF info: Load data into essbase at line: 0 column: columnNo
      at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
      at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
      ... 11 more
    Text: from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select   FACT_CUR.ACCOUNT    "Account",FACT_CUR.PERIOD    "Period",FACT_CUR.YEAR    "Year",FACT_CUR.SCENARIO    "Scenario",Cur    "Version",FACT_CUR.ENTITY    "Entity",FACT_CUR.PRODUCT    "Product",FACT_CUR.CURRENCY    "Currency",FACT_CUR.SEGMENT    "Segment",FACT_CUR.DATA    "Data" from <?=snpRef.getObjectName("L", "FACT_CUR", "LOG_ORACLE_DATABASE_PERO", "", "D")?>   FACT_CUR  where (1=1)     """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=<?if("".equals(odiRef.getInfo("SRC_FETCH_ARRAY"))){out.print("1000");}else{out.print(odiRef.getInfo("SRC_FETCH_ARRAY"));}?>
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close().
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:764)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:724)

    It can't be because I have another context for that logical schema:
    Physical                                   Context                                  Logical                             
    Oracle_database.Pero                ORACLE_CONTEXT               LOG_ORACLE_DATABASE_PERO --> this is for Oracle DB
    ESSBASE.KOCKA.KOCKA          ESSBASE_CONTEXT          LOG_ESSBASE_KOCKA_KOCKA --> this is for essbase cube
    My source is on oracle db and i want load data into essbase cube. My source area is on LOG_ORACLE_DATABASE_PERO logical schema, and my target is on LOG_ESSBASE_KOCKA_KOCKA logical schema. I use "Staging Area Different from target" options.

  • Managing ODI Agent through OPMN - Install Issue

    Hi
    I am attempting to set up my ODI agent so that I can manage it through my OPMN service but I keep getting an error "java is not recognised as an internal or external command, operable program or batch file" when I run the command "odi_opmn_addagent.bat agentcreate.properties".
    I have installed EPM 11.1.2.2 and my essbase service is currently managed through the OPMN.
    I have updated the odiparams, agentcreate.properties and odi_opmn_addagent.
    In the agentcreate file I set my JAVA_HOME to E:\Oracle\Middleware\jdk160_29
    Any ideas what could be wrong?
    Thanks
    M

    Copy your jdk path as given below. Change it if you have different.
    C:\Program Files\Java\jdk1.6.0_33\bin
    Right click on my computer->go to properties->advanced system setting->environmental variable->system variables
    Scroll down. you will get a variable names as "Path"
    Double click on it. then single click on variable value. Then press home key in your keybord. (better take backup of it)
    now pest above code that is C:\Program Files\Java\jdk1.6.0_33\bin;
    Give a semicolon at the end as i have given. Click ok,ok,ok
    Now go to cmd and type javac. let me now the output.

Maybe you are looking for