Start scenarios

Guru, please help!
At attempt of start of the scenario from an operating system
./startscen.sh DATA_EXPORT 001 AB LEVEL5 –v=5 –NAME=HYP
I receive an error
java.lang.Exception: Specified variable not found in the Repository : .v
     at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
     at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.e.y(e.java)
     at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
     at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
     at oracle.odi.Agent.main(Agent.java)
Has tried to adjust Scheduling in Designer but it does not start the scenario at all.
In the scenario I have 3 variables.
Please help.

Based on the snps_user, the syntax should be as the following, but I still got error java.lang.StringIndexOutOfBoundsException: String index out of range: 5
startscen <Name> <Version> <Context code> [<Log_Level>] [-SESSION_NAME=<session name>] [-KEYWORDS=<keywords>] [-NAME=<agent_name>]
[-v=<trace level>] [<variable>=<value>]
startscen.sh LOAD_SUPPLIER 001 GLOBAL 5 RA_POC.v_base_path=/rapoc
Anybody has any idea?

Similar Messages

  • Isues with ODI Start Scenario

    I need help in executing the odi start scenario command.
    We have around 100 scenarios to be executed thru an external framework. I am trying to create a generic scenario which can used to trigger the 100 scenarios dynamically using a variable so that, at run time i can pass the scenario names one after the other.. This is the command:
    OdiStartScen -SCEN_NAME=#SCN_NAME -SCEN_VERSION=001
    OdiStartScen "-SCEN_NAME=#SCN_NAME" -SCEN_VERSION=001
    Both these versions did not work for me.

    Hi,
    You need call a specific version or the last version? If you need the last, try -SCEN_VERSION=-1 . -1 indicates to agente to be use a last version avalaible.
    Regards

  • Unable to start scenario

    Is this the correct version of JDK I should be using? Please look below:
    Thanks,
    Dinesh.
    I set my ODI_JAVA_HOME to C:\Program Files\Java\jdk1.6.0_14. However I am getting the below error:
    F:\OraHome_1\oracledi\bin>startscen TEST 001 GLOBAL LEVEL5
    OracleDI: Starting scenario TEST 001 in context GLOBAL ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)

    Hi,
    change the commando to:
    F:\OraHome_1\oracledi\bin>startscen TEST 001 GLOBAL 5
    there is no word "LEVEL"

  • ODI, can't start scenario running in different machines

    Hello All
    Well i am working in a consulting proyect where I need ODI and BPEL to connect each other.
    I have installed Oracle SOA Suite for weblogic 9.2 in a machine with ip 192.168.1.108
    I have installed ODI as a server in another machine ip 192.168.1.109
    I have installed Oracle Data Base in the of ODI 192.168.1.109
    Then I installed ODI CLIENT in my laptop (i mean, the topology manager, designer, operator all in my laptop)
    I have made a simple example where i created a "interface in odi" using ODI designer and the a package in which a call a bpel process and it works fine
    Now i need to create a bpel process to call a ODI SCENARIO...but i am stock in it.
    I have done the following:
    1. I deployed the AXIS2 webservice and it's working ok.
    2. I have started and ODI agent and I tested it using the topology manager and it is OK
    3. I created and deployed a bpel process to call the ODI scenario
    When i execute the instance of bpel, i get the following error in the AGENT (which is running in the same machine where ODI SERVER is installed 192.168.1.109)
    Server Launched
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    And of course, the Scenario doensn't start.
    I have done many many tests, but i can't make it work.
    In my last test, I tried to invoke an odi scenario using the STARTSCEN.bat
    I followed the instructions in the otn thread {thread:id=839508}
    I modified the odiparams.cmd like this
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@192.168.1.109:1521:soadesa
    set ODI_SECU_USER=ODIMASTER
    set ODI_SECU_ENCODED_PASS=ccfHG.0VJJ73yntbtLhr7xxbls
    set ODI_SECU_WORK_REP=ODIWORK
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=fJyH6P1neaZHeWG1cxpicApI Launched the agent in my laptop (local)
    and i got the same error in the ms-dos console where I use the startscen.bat program
    startscen CREATE_BPEL_HWF_TASKS 002 Global
    Starting scenario CREATE_BPEL_HWF_TASKS 002 in context Global ...
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)Does anyone know what could the possible problem be???
    I have tested the connection to the schemas/user of the database (ODIMASTER and ODIWORK repositories) and it's OK
    I am kind of new using ODI, but i have made the same TEST in a Virtual Machine installed in my laptop, where i use a Express Edtion Database, a BPEL console, and ODI CLIENTE (everything local) and all the tests works ok.
    1. Call a bpel web service from ODI ....OK
    2. Call a ODI scenario from BPEL using the AXIS2 web service ....OK
    3. start an scenario using the msdos console STARTSCEN ....OK
    I also checked that the SNP_REM_REP and SNP_LOC_REPW columns are the same in the master and work repositories, but it's OK
    What could be my problem?
    I think i can be related to the MASTER and WORK repositories, but i don't know what more could i check
    Thanks in advance

    It was a mistake with the parameters using the ODIparams.sh

  • BPM start scenario

    Hi there,
    I have a BPM for a Leave request process which is working fine.
    For triggering the BPM I would like to have the following scenario:
    1. User has a link "Leave request" on our Intranet page (no SAP portal) to trigger the BPM
    2. The user is directly forwarded to the first WebDynpro "Fill leave request" of the BPM (without navigating through UWL).
    How can I achieve that?
    I've successfully started the BPM from WebDynpro, but that doesn't really help.
    Thanks in advance!

    Hi John, so you mean, I should take out the first Web Dynpro of the BPM (Fill leave request) and trigger the remaining BPM when pushing the submit button?
    Sounds ok, but on the other hand I take out an important step of my BPM.
    I think it would be better that a BPM always reflects the whole process with all activities included.
    Is there any other solution for this.

  • Start scenario when source data change

    Hi,
    is it possible to start a scenario when a data on one table changes on the source DB ?
    For example, an application change a timestamp on a table in the source db, this change triggers the start of the ODI scenario.
    Many thanks,
    Olivier

    Olivier,
    Can you create a database trigger on that table and populate a row in another table indicating that the timestamp on the table has changed.
    Then, you can use OdiWaitForData tool from toolbox in the package as a Starting step and connect its OK with odiStartScen tool which further invokes the scenario that you want to execute.

  • ODI tool Start Scenario

    Hi guys!
    In my package I've used an ODI Tool OdiStartScen with variable which corresponds to the Interface scenario name (#SCENARIO_NAME). My Interface is dynamic. Its source is flat file datastore with resource name based on a variable #FILE_NAME. Now the tricky part. Executing the package ends with an error with the interface. If the variable is not specified, then ofc interface wont work because there is no such file like the variable name (#FILE_NAME file not found), but if I specify the variable in the Variables tab in the ODIStartScen tool I get an error that this variable is not within the work repository. How do get it right?
    Please help.
    Regards,
    PsmakR

    Insert the variable in the package (evaluate/refresh) and regenerate the scenarion. It should ask to about variables that will be included in the scenario. When you call the scenario you have to define what value to pass to that variable.
    Also, you could show us the error message.

  • Problem starting a scenario from Unix command line

    Hello all, many apologies if this is the wrong section of the forum, if it is and you could direct me to the right section I'd be grateful.
    If you're still reading and I am in the right section, I have a problem when using the startscen.sh script to start a scenario.
    This is what appears to be the relevant part of the log, I've had to change some values in the output for our security people.
    lots of java
    FirstUser:SUNOPSIS_INSTALL
    IndChange:I
    IntJavaName:com.sunopsis.dwg.dbobj.SnpRemRep
    IObjects:4600
    LastDate:2010-07-20 11:08:31.0
    LastUser:SUNOPSIS_INSTALL
    ObjName:OBJ_SNPREMREP_4600
    SecuPos:110]
    java.lang.NullPointerException
    08/18/2010 01:53:04 PM(main): SnpsConnection : disconnect : DbUrl : jdbc:oracle:thin:<our host and port data> : User : <our user> : ConnectID : INTERNAL_MASTER0
    08/18/2010 01:53:04 PM(main): SnpsConnection : disconnect : After ConnectionLst :
    DwgJv.main: Exit. Return code:-1
    OracleDI: Starting scenario PKG_PROCESS_FILES 001 in context Global ...
    08/18/2010 01:53:05 PM(main): DwgCmd: getUniqueThreadIdentifier : :Before : mThreadIDIncrementCounter : 0
    08/18/2010 01:53:05 PM(main): DwgCmd: getUniqueThreadIdentifier : :After : mThreadIDIncrementCounter : 1 : Unique ID : 0
    08/18/2010 01:53:06 PM(main): DwgTaskSql.supportTransactions : test transactions capability for :
    Oracle JDBC driver
    10.1.0.5.0
    08/18/2010 01:53:06 PM(main): DwgTaskSql.supportTransactions : test transactions capability for :
    Oracle JDBC driver
    10.1.0.5.0
    08/18/2010 01:53:06 PM(main): SnpsQuery.updateExecStatement : prepare request :
    Select BATCH_UPDATE_SIZE, CONNECT_TYPE, CON_NAME, DSERV_NAME, FETCH_ARRAY_SERV, FIRST_DATE, FIRST_USER, IND_JNDI, I_CONNECT, I_HOST, I_TECHNO, I_TXT_JAVA_URL, I_TXT_JNDI_URL, I_TXT_WS_BASE_URL, JAVA_DRIVER, JNDI_AUTHENT, JNDI_FACTORY, JNDI_PROTO, JNDI_PWD, JNDI_RESSOURCE, JNDI_USER, LAST_DATE, LAST_USER, PASS, USER_NAME, WS_DEPLOY_MODE from SNP_CONNECT where SNP_CONNECT.I_CONNECT=?
    08/18/2010 01:53:06 PM(main): SnpsQuery.updateExecStatement : prepare request :
    Select FIRST_DATE, FIRST_USER, I_CONNECT, LAST_DATE, LAST_USER, REP_ID, REP_NAME, REP_TIMESTAMP, REP_TYPE from SNP_REM_REP where REP_NAME = ?
    08/18/2010 01:53:06 PM(main): SnpRemRep.getObjectLst : :
    08/18/2010 01:53:06 PM(main): SnpsQuery.updateExecStatement : prepare request :
    Select AGENT_NAME, AGENT_NAME2, EXT_VERSION, FIRST_DATE, FIRST_USER, HOST_NAME, HOST_PORT, IND_CHANGE, I_AGENT, LAST_DATE, LAST_USER, MAX_THREAD from SNP_AGENT where AGENT_NAME=?
    08/18/2010 01:53:06 PM(main): SnpAgent.getObjectLst : :
    [AgentName:@
    AgentName2:null
    ExtVersion:null
    FirstDate:2010-06-22 17:47:34.0
    FirstUser:SUPERVISOR
    HostName:<out host>
    HostPort:<our port>
    IndChange:U
    IAgent:1000
    LastDate:2010-06-23 12:40:32.0
    LastUser:SUPERVISOR
    MaxThread:1000]
    08/18/2010 01:53:06 PM(main): SnpsQuery.updateExecStatement : prepare request :
    Select AUT_SUPERVISOR, EXPIRACY_DATE, EXT_VERSION, FIRST_DATE, FIRST_USER, IND_CHANGE, I_TXT_DETAIL, I_WUSER, LAST_DATE, LAST_USER, PASS, USER_EXPIRACY_DATE, WUSER_INIT, WUSER_NAME from SNP_USER where WUSER_NAME=?
    08/18/2010 01:53:06 PM(main): SnpUser.getObjectLst : :
    [AutSupervisor:1
    ExpiracyDate:null
    ExtVersion:null
    FirstDate:2010-06-21 08:22:32.0
    FirstUser:SUNOPSIS_INSTALL
    IndChange:I
    ITxtDetail:null
    IWuser:1999
    LastDate:2010-06-21 08:24:44.0
    LastUser:SUNOPSIS_INSTALL
    Pass:hZyX6tylA1y5R.RcRlQdfp
    UserExpiracyDate:null
    WuserInit:SU
    WuserName:SUPERVISOR]
    08/18/2010 01:53:06 PM(main): SnpsQuery.updateExecStatement : prepare request :
    Select EXT_VERSION, FIRST_DATE, FIRST_USER, IND_CHANGE, INT_JAVA_NAME, I_OBJECTS, LAST_DATE, LAST_USER, OBJ_NAME, SECU_POS from SNP_OBJECT
    08/18/2010 01:53:06 PM(main): SnpObject.getObjectLst : :
    [ExtVersion:null
    FirstDate:2010-06-21 08:21:48.0
    FirstUser:SUNOPSIS_INSTALL
    IndChange:I
    lots of java
    If anyone could shed some light I would be very grateful.
    izz

    Fantastic! Thankyou for your help. I realise my problem was that I copied jdic.jar into the project folder to save effort, but forgot tray.dll. I had seen tray.dll in that error output, but simply hadn't made the connection - you know how it is after staring at the same problem for a whole evening!
    As it is, I only had to copy tray,dll into the project folder and it works fine. :D.
    Thanks a lot.

  • Error while executing a scenario from CMD

    I am trying to execute a scenario from CMD using the starctscen command.
    when I use the below command
    E:\OraHome_ODI\oracledi\bin\startscen EXT_DATA 002 GLOBAL
    it is executing correctly
    but I tried to create a sceduler for the execution where i used the below command
    C:\Documents and Settings\Desktop>"E:\OraHome_ODI\oracledi\bin\startscen.bat" EXT_DATA 002 GLOBAL
    and it is giving me the following error
    The system cannot find the path specified.
    OracleDI: Starting scenario EXT_DATA 002 in context GLOBAL ...
    'oracle.odi.Agent' is not recognized as an internal or external command,
    operable program or batch file.
    can someone help me on this.
    Thanks,
    Sri

    In the batch File write this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen EXT_DATA 002 GLOBAL In case you are providing the values (EXT_DATA 002 GLOBAL) as parameter
    then call the startscen this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen %1 %2 %3

  • How to execute a scenario from Windows command prompt

    Hi,
    I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
    The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
    I am executing following command -
    startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
    The error is -
    A JDK is required to execute Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    DwgJv.main: Exit. Return code:-1
    Please let me know where I am going anything wrong.
    Thanks,
    Himanshu

    Hi,
    you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
    You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on?

  • Issue while running a scenario while using TTU in ODI

    Hi All,
    I have created an interface to load data from oracle to teradata. I have used LKM as SQL to Teradata (TTU). When i run this interface from UI (from my desktop) I receive an error telling
    "sh: fastload: command not found" which makes perfect sense.
    I then tried to create a scenario and run the scenario from a machine which has the utility installed. I get the below error.
    ./startscen.sh ORACLE2TD 001 TESTNEWCONTEXT
    OracleDI: Starting scenario ORACLE2TD 001 in context TESTNEWCONTEXT ...
    2010-11-15 22:53:42.017 ERROR ODI-1217 Session ORACLE2TD (399001) fails with return code 7000.
    2010-11-15 22:53:42.865 ERROR ODI-1134 Agent Internal encountered an error: ODI-1217: Session ORACLE2TD (399001) fails with return code 7000.
    2010-11-15 22:53:43.551 NOTIFICATION Session 399,001 ended with status E (ERROR)
    Status message is : Session Failed :399001 : ODI-1217: Session ORACLE2TD (399001) fails with return code 7000.
    ODI-1226: Step oracle2td fails after 1 attempt(s).
    ODI-1240: Flow oracle2td fails while performing a Loading operation. This flow loads target table ETL_CONTROL_GROUP_CUR_1.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 19, in ?
    ImportError: no module named threading
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
    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 com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1818)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:559)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:481)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1040)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:49)
    at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:93)
    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:84)
    at oracle.odi.runtime.agent.RuntimeAgent.startScenario(RuntimeAgent.java:318)
    at oracle.odi.StartScen.main(StartScen.java:192)
    If anyone has encountered a similar issue and able to solve it, please share your thoughts with me.
    Thanks in advance for your help.
    Thanks
    Ashish
    Edited by: 811686 on Nov 15, 2010 3:41 PM

    Thanks Cezar. I tried the same.
    sato:work/ashish/ODI/generic/agent_standalone/oracledi/agent/bin$./startscen.sh ORACLE2TD 001 TESTNEWCONTEXT -NAME=localagent
    OracleDI: Starting scenario ORACLE2TD 001 in context TESTNEWCONTEXT ...
    2010-11-16 23:54:54.388 ERROR ODI-1217 Session ORACLE2TD (401001) fails with return code 7000.
    2010-11-16 23:54:54.899 ERROR ODI-1134 Agent localagent encountered an error: ODI-1217: Session ORACLE2TD (401001) fails with return code 7000.
    2010-11-16 23:54:55.617 NOTIFICATION Session 401,001 ended with status E (ERROR)
    Status message is : Session Failed :401001 : ODI-1217: Session ORACLE2TD (401001) fails with return code 7000.
    ODI-1226: Step oracle2td fails after 1 attempt(s).
    ODI-1240: Flow oracle2td fails while performing a Loading operation. This flow loads target table ETL_CONTROL_GROUP_CUR_1.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 19, in ?
    ImportError: no module named threading
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
    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 com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1818)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:559)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:481)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1040)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:49)
    at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:93)
    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:84)
    at oracle.odi.runtime.agent.RuntimeAgent.startScenario(RuntimeAgent.java:318)
    at oracle.odi.StartScen.main(StartScen.java:192)
    sato:work/ashish/ODI/generic/agent_standalone/oracledi/agent/bin$ps -ef | grep -i localagent
    edwd 1311024 2274074 0 23:55:23 pts/15 0:00 grep -i localagent
    edwd 1573280 1545022 0 23:48:11 pts/11 0:00 /bin/sh ./agent.sh -NAME=localagent
    edwd 2396516 1573280 0 23:48:11 pts/11 1:50 /usr/java6_64/bin/java -Xms32m -Xmx256m -classpath ../lib/.:../drivers/.:../../../odi_misc/*.zip:../../../odi_misc/*:../lib/*.zip:../lib/*:../drivers/*.zip:../drivers/*:../lib/scripting/*.zip:../lib/scripting/*::/usr/java6_64/lib/tools.jar -Djava.security.policy=server.policy -Doracle.security.jps.config=./jps-config.xml -DODI_MASTER_DRIVER=oracle.jdbc.OracleDriver -DODI_MASTER_URL=jdbc:oracle:thin:@chasers.corp.apple.com:1722:edsd -DODI_MASTER_USER=edwsd -DODI_MASTER_ENCODED_PASS=d,yX5CMNzbGSWEfbYghXQabtk -DODI_SECU_WORK_REP=WORKREP1 -DODI_SUPERVISOR=SUPERVISOR -DODI_SUPERVISOR_ENCODED_PASS=f8yXwZyTPaaMainI5qdnIPFaf -DODI_USER=SUPERVISOR -DODI_ENCODED_PASS=f8yXwZyTPaaMainI5qdnIPFaf -DODI_JMX_PROTOCOL=rmi -Dorg.mortbay.log.class=oracle.odi.logging.AgentJettyLogger -Doracle.core.ojdl.logging.config.file=ODI-logging-config.xml oracle.odi.Agent -MASTER_DRIVER=oracle.jdbc.OracleDriver -MASTER_URL=jdbc:oracle:thin:@chasers.corp.apple.com:1722:edsd -MASTER_USER=edwsd -MASTER_ENCODED_PASS=d,yX5CMNzbGSWEfbYghXQabtk -WORK_REPOSITORY=WORKREP1 -ODI_SUPERVISOR=SUPERVISOR -ODI_SUPERVISOR_ENCODED_PASS=f8yXwZyTPaaMainI5qdnIPFaf -ODI_USER=SUPERVISOR -ODI_ENCODED_PASS=f8yXwZyTPaaMainI5qdnIPFaf -ODI_CONNECTION_RETRY_COUNT=0 -ODI_CONNECTION_RETRY_DELAY=7000 -NAME=localagent
    sato:work/ashish/ODI/generic/agent_standalone/oracledi/agent/bin$which fastload
    /usr/bin/fastload
    sato:work/ashish/ODI/generic/agent_standalone/oracledi/agent/bin$
    I have an agent localagent that is running on this machine, but when i run the scenario, it fails. Any further inputs will be very useful. Thanks

  • Error while executing ODI scenario from command prompt

    Hi all,
    I am trying to execute a scenario of a package( that I have created in designer) in OS command prompt in Windows in the following way-
    C:\ODIHOME\oracledi\bin>Startscen DIM_TECHNOLOGY_PACKAGE 001 Global LEVEL5
    However I am getting the following message:-
    OracleDI: Starting scenario DIM_TECHNOLOGY_PACKAGE 001 in context Global ...
    com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
    sion ; SnpScen does not exist
    at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
    ava)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.t(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
    sion ; SnpScen does not exist
    at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
    ava)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.t(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    Please tell me what can be the possible reason?
    Thanks in advance
    PB

    Hi PB ,
    Use the following syntax
    C:\ODIHOME\oracledi\bin>startscen DIM_TECHNOLOGY_PACKAGE 001 <CONTEXT_CODE> "-v=5"
    Also make sure that the repository connection details are all correct before running scenario via startscen script
    Thanks,
    Sutirtha
    Edited by: Sutirtha Roy on May 14, 2010 12:18 PM

  • Errors while Executing a scenario thruogh command prompt...Pls help!!

    hi,
    i am trying to execute a scenario in my command prompt.i am using windows operating system.
    i am getting the the following error when i run this command..
    startscen COM_IFLEX_LIMITS 001 GLOBAL "-V=2"OracleDI: Starting scenario COM_IFLEX_LIMITS 001 in context GLOBAL ...
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:503)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleState
    ment.java:965)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPre
    paredStatement.java:535)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1051)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
    dStatement.java:3026)
    at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    at com.sunopsis.dwg.cmd.e.h(e.java)
    at com.sunopsis.dwg.cmd.e.g(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    DwgJv.main: Exit. Return code:-1
    Regards
    Ashwin

    So we can understand where the error occurs, can you tell us where the processings gets up to in the log?

  • Issue with running scenario from command line-RESOLVED

    I have made appropriate changes in the odiparams.bat file and am trying to run the startscen command from the bin directory of the ODI installation on windows XP Pro SP2
    startscen DPRI_SEC_PKG_POP_PRI_SEC_TBLS 001 GLOBAL "-v=2"
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@pridb-test-1:1521:PRISBOX
    set ODI_SECU_USER=PRI_MST_TST
    set ODI_SECU_ENCODED_PASS=b1ya.1dDo.cclkh.IVhi5Ovp
    set ODI_SECU_WORK_REP=PRI_WRK_TST
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=a7yXIxOwQ4avmSJZia4,79QAp
    Below is the error I get:
    OracleDI: Starting scenario DPRI_SEC_PKG_POP_PRI_SEC_TBLS 001 in context GLOBAL
    com.sunopsis.sql.c: oracle.jdbc.driver.OracleDriver
    at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java)
    at com.sunopsis.dwg.cmd.e.h(e.java)
    at com.sunopsis.dwg.cmd.e.g(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    DwgJv.main: Exit. Return code:-1
    Please suggest where I might be going wrong? I've made sure that the repository connections as correct. It is not really telling what is wrong or maybe I don't understand the error message.
    Edited by: user10184763 on Sep 26, 2008 10:50 AM
    ALRIGHT....I picked up the original backed up odiparams.bat file and entered all the information one more time and then it worked...I dont know waht happened..but it worked!! Thanks people!
    Edited by: zebango on Oct 14, 2008 10:39 AM

    Still getting the same error. Work repository name is correct. Passwords freshly encoded. The thing is everytime I run the command agent encode &lt;password&gt; it gives me a new encoded password. Is tht expected behavior??
    bq. C:\Program Files\Oracle\oracledi\oracledi\bin&gt;startscen DPRI_SEC_PKG_POP_PRI_SEC \\ TBLS 001 GLOBAL "-v=2" \\ OracleDI: Starting scenario DPRISEC_PKG_POP_PRI_SEC_TBLS 001 in context GLOBAL \\ ... \\ com.sunopsis.sql.c: sun.jdbc.odbc.JdbcOdbcDriver \\ at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java) \\ at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java) \\ at com.sunopsis.dwg.cmd.e.h(e.java) \\ at com.sunopsis.dwg.cmd.e.g(e.java) \\ at com.sunopsis.dwg.cmd.e.y(e.java) \\ at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java) \\ at com.sunopsis.dwg.DwgJv.main(DwgJv.java) \\ at oracle.odi.Agent.main(Agent.java) \\ DwgJv.main: Exit. Return code:-1
    My ODI params.bat for reference. again this Windows XP Prof2
    bq. set ODI_SECU_DRIVER=sun.jdbc.odbc.JdbcOdbcDriver \\ set ODI_SECU_URL=jdbc:oracle:thin:@pridb-test-1:1521:PRISBOX \\ set ODI_SECU_USER=PRI_MST_TST \\ set ODI_SECU_ENCODED_PASS=b1yaZszHYl5dvTmffPVqRhkp \\ set ODI_SECU_WORK_REP=PRI_WRK_TST \\ set ODI_USER=SUPERVISOR \\ set ODI_ENCODED_PASS=a7yXTDTi0KW4pefy2MPpHSuDy
    Any suggestions?

  • Not able to execute scenario in RA 14.0

    Problem Summary
    Not able to execute scenario in RA 14.0 
    Problem Description
    [oracle@dev-rtlrmadb src]$ ./SIL_RetailLoadControlSeedData.ksh
    OracleDI: Starting scenario SIL_RETAILLOADCONTROLSEEDDATA 001 in context DEVELOPMENT_INSTALL ...
    2015-02-08 12:01:01.026 ERROR ODI-1217 Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with return code 7000.
    2015-02-08 12:01:01.099 ERROR ODI-1134 Agent Internal encountered an error: ODI-1217: Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with eturn code 7000. Caused by: ODI-1226: Step RA_Log_Error_File fails after 1 attempt(s).
    When checking in $MMHOME/error directory , the log is showing following error :- 
    Package Name-> SIL_RETAILLOADCONTROLSEEDDATA
    Step Name-> SIL_RetailInitial_C_ODI_PARAM_Load
    Error Details->
    ODI-1226: Step SIL_RetailInitial_C_ODI_PARAM_Load fails after 1 attempt(s).
    ODI-1240: Flow SIL_RetailInitial_C_ODI_PARAM_Load fails while performing a Loading operation. This flow loads target table C_ODI_PARAM.
    ODI-1228: Task SS_0 (Loading) fails on the target ORACLE connection ORACLE_BI_APPLICATIONS_RA_INSTALL.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-01918: user 'radm01' does not exist
    DB user exists. I'm able to login via sqlplus.   Have checked in Physical schema and Logical schema also. All required Data Servers exeists in Topology -> physical / locical schema-> oracle. and tested the connection every thing is working properly.
    Error Codes
    ODI-1226  , ODI-1240 , ODI-1228 , ODI-1217 , ODI-1134 , ODI-1232
    Problem Category/Subcategory
    Retail Merchandising Analytics Issues
    Uploaded Files
    Template Question Responses
    1) ### Steps to Reproduce ###
    Go to $MMHOME/src .
    Execute the   ./SIL_RetailLoadControlSeedData.ksh  from prompt.    This gives the mentioned error.
    I'm currently configuring Oracle Merchandising Analytics 14.0  . Referring guide  " Oracle® Retail Analytics Installation Guide Release 14.0 E50594-05 ".
    I'm at step number 11 , 
    page no 58.

    Please help. Its urgent.

Maybe you are looking for

  • Mac Hanging

    I'm using a B&W G3 Mac with a PCI-MIO-16XE and a PCI NI GPIB card (don't have the model handy). I'm using the GPIB card to control a Stanford Research Systems' DS360 function generator. I can use the GPIB to control it, but when I then use the AI Acq

  • Relation between a datafile and segments.

    Hi All, I am trying to understand the storage concepts of oracle. I read that 1. Tablespace is a logical grouping of datafiles 2. Segments are made up of Extents and Extents are composed to DB Blocks which are logical grouping of OS blocks. But I am

  • Bypassing start up config on C6500 sup720-3B

    hi, I need to bypass startup config on sup720-3B supervisor card I went to rommon mode and put confreg 0x2142 and reset The 6500 reboot but I enter startup config again and again...and not the setup menu see the log : (s72033_sp-IPSERVICES_WAN-VM), V

  • [solved]will installing multilib package change my 64bit installation?

    maybe the question is a bit dump, but currently I am running an 64bit version of arch. For running steam I need the multilib. Will installing that package make other applications run in 32bit mode and making slower the system or the multilib will onl

  • Not able to transfer songs from iTunes onto new iPhone 4s?

    So I got the new iPhone 4s today... I'm currently trying to transfer my apps & music onto my iPhone. However, my phone doesn't show up in iTunes when I plug it into my computer. I've tried restarting my computer and my phone. Is it possible that my i