ODI Scenario status

Hi Guys,
I am developing an ODI (11.1.1 on 11g R2) system to import and process flat files.
I have a worker package 'compiled' into a scenario so that i can start multiple workers asynchronously. the worker package is designed such that it works on a continous loop - reading records from a table, fetching and processing the indicated files and then waiting for the next record to be present (in reality this will be working 24/7). So a worker will never complete unless under error conditions (or a forced stop).
So i have a controller package which starts 5 of these workers, each with a different set of start up parameters.
Everything works just great, but i need to build in more error handling, graceful restarting etc.
The main requirment i have is that if any one of the workers falls over for whatever reason then i need to stop all the other workers, perform some clean up and then restart all the workers.
My original controller had ODIWaitForChildSession step but this is insufficient as it waits for all the sessions to end. but with my design the workers which did not fall over will continue to run.
So.
My question is:
How and what can i poll from within my controller flow to determine the status of a child session?
My thinking was to replace the ODIWaitForChildSession step with something which polls the status of all child sessions and then send a stop command to all sessions if it's detects if one ended in error - then do some clean up and loop back to the section which starts the workers anew.
I am assuming it is possible as what i want to do is only a little different from the in-built ODIWaitForChildSession step - or actually, maybe i am just missing something simple.
Any help would be greatly appreciated.
Regards
Jay

Since all the process are in asynchronous mode so odiwait for child option is good to handle this & only drawback is that it wait untill all the sessions have been finished.
Since you need to track all the process there is a solution for it.
let say you have worker process w1,w2,w3 etc ..
1. create a log table which conatin column like scenario name, scn id , status i,e fail, suceess etc 0 ,1.
1. create a proc eg proc1 which contain odiprevsteplog. It will determine previous step detail & insert this into log table log1 above step1
2. Attach proc1 above to process w1,w2,w3
w1-->proc1
w2-->proc1
w3-->proc1
3. after 2 step, create a variable (v_chk) refresh mode to check status from log table & if any worker w1,w2,w4, if faill then exit
w1-->proc1 -->v_chk
w2-->proc1 -->v_chk
w3-->proc1 -->v_chk

Similar Messages

  • How to make ODI scenario sessions run mutually exclusive

    We want to restrict the end user of the ODI scenario to be able to run only 1 instance of the scenario at once. Is it possible in ODI ? Basically we want the ODI scenario sessions to be mutually exclusive ? if one is running, and if user tried to run another one, it should not allow him to do so.
    Please note that we are aware of how to handle parallel runs while coding for the same, but here we don't even want to get to a situation like that.
    Thanks,
    Ankit

    Hi Ankit,
    Trying to help...
    Two solutions -
    Solution 1:-
    Create a dedicated agent for that particular execution and for that agent set the maximun number of execution as 1.
    (so only one session will be executed at a time)
    Solution 2:-
    Create a log table/ (lock table) to maintain the status of the execution . (column - Session state)
    When ever an execution starts change the satus of the log (lock) table column as "Running"
    and once the session is completed change the status of the column as "Not Running"
    And in the package (starting) put a condition variable to check the column - Session state of the table log table/ (lock table)
    if its running exit the application , else continue.
    Hope this helps.
    Regards,
    Rathish

  • Publishing ODi scenario as Web Service

    Hi
    I could use ODI invoker Service to invoke ODi scenario from SOap UI, or BPel and other Tools
    The ODI invoker service invokes the SCENARIO & returns the session number for the Scenario triggered. But the issue is it will not wait for the scenario to complete.
    What I need is the status for the scenario after it is done....anyone can suggest how is it possible.
    Other way around is
    If its possible to publish scenarios as web services????

    Hi Setting Sync Mode to 1 helped .Thanks. But there is one issue :
    For Hard errors it returns the repsosne as false ( Failed) but for scenarios with data errors or unique constraint errors it returns a true.. is tehre a way to handle that.
    Anothe rquestion related to publishing the scenario as service is:
    Added Application server: AXIS2, and used "SKM Oracle" Knowledge module on a datastore(table) to generate and deploy webservice
    I get this error
    java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:663)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
         at com.sunopsis.dwg.dataservices.WSDLGenerator.d(WSDLGenerator.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.m(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.b(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.WSGenerationTask.a(WSGenerationTask.java)
         at com.sunopsis.graphical.b.c.b(c.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:619)

  • ERROR WHILE RUNNING ODI SCENARIO FROM BAM ALERT

    We are using oracle data integrator 11g and have created an ODI Scenario and able to run the scenario from ODI studio client.
    We have done the configuration for BAM-ODI integration as mentioned in http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bam_odi.htm#BABEJIGD
    We have started ODI Agent, soa and bam servers. Created a BAM alert -> select action - Run ODI Scenario -> selected the same scenario.
    Alert ran at scheduled time but failed with following error:
    java.io.IOException : truncated data integrator frame received
    Error Message (if any)
    [2012-08-06T11:24:21.046+05:30] [bam_server1] [WARNING] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Error occured while running a ODI Scenario.
    [2012-08-06T11:24:21.250+05:30] [bam_server1] [ERROR] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Action exception: EEInstEv2 EEInstAct1 Rule
    Id: 2 exception: java.io.IOException: truncated Data Integrator Frame
    received
    [2012-08-06T11:24:21.250+05:30] [bam_server1] [WARNING] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Exception stack trace: [[
    at
    oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScena
    rio.java:145)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionP
    rocessor.java:891)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(Actio
    nProcessor.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
    ava:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
    at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
    at
    oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.proc
    essWorkRequest(ThreadPoolController.java:155)
    at
    oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(
    ThreadPoolController.java:128)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java
    :886)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908
    at java.lang.Thread.run(Thread.java:619)
    Any help on this is highly appreciated...
    Thanks
    Rajdip Mukherjee

    Hi,
    Forgot to include the ODI classes RunScenario.invokeScenario() is invoking odi scenario using odi sdk api. Please see the below stack trace :-
    java.io.IOException: truncated Data Integrator Frame received
    at
    oracle.odi.sdk.invocation.internal.AgentNetworkCmd.readCmd(AgentNetworkCmd.java:303)
    at
    oracle.odi.sdk.invocation.OdiInvocation.invokeCommand(OdiInvocation.java:176)
    at
    oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScenario.java:140)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionProcessor.java:891)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Thanks
    Rajdip Mukherjee

  • Error while running the ODI Scenario

    Hi All,
    I am trying to execute ODI Scenario from operator window getting below error. I am not sure why the error is comming yesterday it was running successfully.
    I checked the agent connection via test button, it is working fine.
    com.sunopsis.dwg.cmd.b: Error during Scenario launching : Error during Session Preparation : You are trying to execute a session with an agent that is undefined in your repository. Please check the agent -NAME parameter.
         at com.sunopsis.dwg.dbobj.SnpScen.a(SnpScen.java)
         at com.sunopsis.dwg.dbobj.SnpScen.remoteExecute(SnpScen.java)
         at com.sunopsis.dwg.dbobj.SnpScen.remoteExecute(SnpScen.java)
         at com.sunopsis.graphical.g.ot.m(ot.java)
         at com.sunopsis.graphical.o.z.actionPerformed(z.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)
         at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    I'm guessing the name on the physical agent was different from the agent name of the process running on the server? That's generally when I get this error...

  • Error while running a ODI scenario from command prompt

    Hi,
    I'm trying to run a ODI scenario from command prompt. I've edited the tnsnames.ora and odiparam.bat file with exact host and port details. Even though I'm facing the below error.
    command:startcmd.bat OdiStartScen -SCEN_NAME=INT.CUSTOMER_STG -SCEN_VERSION=001 -CONTEXT=ICM -AGENT_CODE=KANBAN
    Error: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:orcl
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    Please help in resolving the error...
    Thanks in advance.
    Edited by: 894841 on Dec 22, 2011 11:15 PM

    Hi,
    Are you able to start the Standalone Agent(KANBAN) and test it in the Topology?
    Check the value of the ODI_MASTER_URL variable in odiparams file(at the path <ODI_HOME>\oracledi\agent\bin) of the agent.
    Specify the full the JDBC URL properly not like localhost(until the DB is on same machine as your ODI).

  • How to pass a Variable value into an ODI Scenario from ODI Package

    I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
    Any help is greately appreciated.
    Best Regards
    Bee

    Hi Sutrtha,
    Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
    Am I missing something?
    Regards
    B

  • Error while invoking ODI Scenario from BPEL

    Hi,
    I have created a BPEL process for invoking ODI Scenario as mentioned in the http://www.oracle.com/technology/obe/fusion_middleware/odi/ODIscenario_BPELcallback/ODIscenario_BPELcallback.htm
    when i am deploying the process through console in i am getting this error Connection refused: connect..+
    outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<ODIProcessResponse xmlns="http://xmlns.oracle.com/ODIService">
    <conversationId>b7367ada046f7040:2c3c2fb3:123c698ac08:-7f49
    </conversationId>
    <result>Connection refused: connect
    </result>
    <elapsedTime>953
    </elapsedTime>
    <odiPlan>
    ========== OdiInformation =======
    - mSyncMode :SYNC
    - mScenarioName :TEST_INTERFACE
    - mScenarioVersion:001
    - mLogLevel :5
    - mContext :GLOBAL
    - mOdiHostname :localhost
    - mOdiHostPort :20910
    </odiPlan>
    </ODIProcessResponse>
    </part>
    </outputVariable>
    Regards,
    Ezhilan R.

    Hi, how are you?
    I did works including a parameter in my scenario and put value in this parameter on call scenario from BPEL. If i remove the parameter on the scenario and the call, its dont works.
    Try include a parameter in your scenario.

  • Invoking ODI Scenario from a BPEL process - Resolved

    I new to Oracle products.
    I am exploring Oracle Data Integrator tool.
    I would like to call ODI scenario from a BPEL process.
    I created a scenario in ODI, I have SOA suite10.1.3.3 installed in my machine.
    In some portal I have read that, we need to deploy apache axis to Oracle App server and then deploy the ODI public web service to axis. This public web service facilitates us to call scenario from partner link.
    Following are my questions:
    1) I guess Oracle App server acts as webservice container too. Why should I use apache axis here?
    2)If axis must be used, please let me know how to deploy it to OAS.
    If axis is not required, please guide me how to deploy public web service to OAS.
    Thanks!!

    Hi:
    I have similar problem, when invoke ODI Scenario from a BPEL Process, the error in ODI Designer is:
    java.lang.NullPointerException
         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.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)
    In the BPEL Console the result is OK and process complete, but in the INVOKE scenario send message:
    <messages><ODI_REQUEST><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1"><invokeScenarioRequest xmlns="xmlns.oracle.com/odi/OdiInvoke/">
    *<RepositoryConnection xmlns=""*
    <JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
    <JdbcUrl>jdbc:oracle:thin:@192.168.1.109:1521:ORCL</JdbcUrl>
    <JdbcUser>dimaster</JdbcUser>
    <JdbcPassword>sabr0sa</JdbcPassword>
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUNOPSIS</OdiPassword>
    <WorkRepository>TESTWORKREP1</WorkRepository>
    </RepositoryConnection>
    *<Command xmlns="">*
    <ScenName>P_TRASPASOSOP09</ScenName>
    <ScenVersion>2</ScenVersion>
    <Context>Global</Context>
    <LogLevel>5</LogLevel>
    <SyncMode>0</SyncMode>
    <SessionName/>
    <Keywords/>
    <Variables>
    <Name/>
    <Value xmlns:ns1="http://xmlns.oracle.com/Recepcion">
    <ns1:Escenario>P_TRASPASOSOP09</ns1:Escenario>
    <ns1:Version>2</ns1:Version>
    <ns1:Contexto>Global</ns1:Contexto>
    <ns1:ID>1</ns1:ID>
    <ns1:NivelLogeo>5</ns1:NivelLogeo>
    </Value>
    </Variables>
    </Command>
    *<Agent xmlns="">*
    <Host>192.168.1.109</Host>
    <Port>20910</Port>
    </Agent>
    </invokeScenarioRequest>
    </part></ODI_REQUEST><ODI_RESPONSE><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1"><odi:invokeScenarioResponse xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <odi:CommandResultType>
    <odi:Ok>true</odi:Ok>
    <odi:SessionNumber>445000</odi:SessionNumber>
    </odi:CommandResultType>
    </odi:invokeScenarioResponse>
    </part></ODI_RESPONSE></messages>

  • Invoking ODI scenario from BPEL using Asynchronous callbacks

    It has been given in many sites that for invoking an odi scenario, odi-public-ws.aar must be uploaded to AXIS2 framework as the web service uses AXIS2 as the web service container. For doing this first the AXIS2 should be deployed in OC4J.
    I am working with a scenario like this. I didnt deploy AXIS2 and neither uploaded the odi-public-ws.aar. Still i am getting the result as success. BPEL is invoking the ODI scenario and callback is happening too.
    I, also tried invoking ODI scenario in a remote system. Got the result for that too. I am using ODI 10.1.3.4 and J-Dev 10.1.3.3 and SOA suite 10.1.3.1.
    Can anyone suggest how without AXIS2 framework the process is success?

    Hi,
    Thanks its working now. I am facing another issue. I do not use parameters in my Scenario. Now when i run my scenario i m getting the following error. I think its because i have not assigned anything to the Variable element. I guess its taking null value for Variable element here and cheking if such a variable exists. Have you come accross such an issue? If so, please sugest remedy.
    java.lang.Exception: Specified variable not found in the Repository : null
         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.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:619)
    Edited by: silas.john on May 13, 2009 1:29 AM

  • Is it possible to Call ODI Scenario from eBS Concurrent request

    Hi Experts
    We have a concurrent request running on oracle eBS system. Is it possible to Invoke the ODI Scenario (on a different server) by submitting a concurrent request. Mostly the concurrent program will be a PL/SQL
    Thanks in advance.

    hey,
    yeah its possible..
    Check this.
    /people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies
    These replies too..
    Proxy in BPM
    BPM file to ABAP proxy
    Thanks,
    Vijaya.
    Edited by: Vijaya Lakshmi Palla on Jun 4, 2008 5:32 AM

  • Problems with the call of an ODI scenario from an OS Command.

    I'm having a trouble to understanding regarding the call an ODI scenario from an OS Command.
    On the machine "XPTO" is installed the Agent.
    For my local computer, by Designer ODI I can usually run the scenarios, using the Agent that is installed in the machine "XPTO".
    When attempting to run ODI scenario directly from the machine "XPTO", where we have the agent installed within the /Ora_Home/oracledi/bin the file STARTSCEN.BAT not exist.
    On the machine where you installed the agent I should also have the client installed, so as to be able to run the StartScen.bat?

    As suggested, I ran the following command line:
    *./startcmd.sh OdiStartScen -SCEN_NAME=STG_CRTC -SCEN_VERSION=001 -CONTEXT=GLOBAL -AGENT_CODE=ODI_2001*
    But gave the error below:
    com.sunopsis.core.f:*
    at com.sunopsis.tools.connection.DwgRepositoryConnectionsCreator.a(DwgRepositoryConnectionsCreator.java)*
    at com.sunopsis.tools.connection.DwgRepositoryConnectionsCreator.a(DwgRepositoryConnectionsCreator.java)*
    at com.sunopsis.tools.connection.DwgRepositoryConnectionsCreator.a(DwgRepositoryConnectionsCreator.java)*
    at com.sunopsis.tools.connection.DwgRepositoryConnectionsCreator.a(DwgRepositoryConnectionsCreator.java)*
    at com.sunopsis.security.c.b(c.java)*
    at com.sunopsis.security.c.b(c.java)*
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.u(SnpsFunctionBaseRepositoryConnected.java)*
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java)*
    at com.sunopsis.dwg.tools.StartScen.main(StartScen.java)*
    at com.sunopsis.dwg.tools.OdiStartScen.main(OdiStartScen.java)*
    Can anyone help me?

  • How to execute ODI scenario from a web application

    Hi
    I need to execute ODI scenario from ApEx form.
    how to execute ODI scenario from application. Using 10.1.3.5.5
    -app

    In the SQL property of the TQuery object, enter the call as an anonymous block:
    begin
      pkg_name.procedure_name(true);
    end;

  • ODI Scenario Hang on ODI Procedure

    Hi Experts,
    We have one ODI scenario which consists of a few ODI procedure steps with anonymous PL/SQL block. When one procedure takes a long time to process data (>60min. when data volume is large), the ODI scenario hangs intermittently on the procedure (ODI Operator shows Running state and no progress to next step in Scenario). The pl/sql script finished fine when running against database directly processing the same dataset.
    When the ODI step hangs, the database side where the pl/sql runs on has no more activities, and the db session(v$session) which processes the ODI procedure goes away as well (db session not existing on db anymore). But the ODI Operator still shows the step in running state and hangs there forever (days). The jdbc connection from ODI to db looks fine.
    How can we fix this problem in ODI? The ODI version is 10.1.3.5.
    Appreciate your input on this.
    Thanks,

    The doc said "If your command is being executed in a transaction (numbered 0 to 9)" then I should set 'Commit'. But I used 'Autocommit' for transaction, is the 'Commit' necessary here?
    Thanks!

  • ODI Scenario Deployment Issue

    Hi ,
    I am trying to deploy the ODI scenario using SYNONYM_Insert , But it was not inserting eventhough I havent had any previous scenario deployed for the same . Then i tried with "duplication" , it deployed successfully ( There was only one version of the scenario after deploying through "duplication" )
    Whats the difference between "SYNONYM_Insert" and "duplication" ?

    Oracle Data Integrator can import objects, the topology or a master repository using several modes:
    Duplication : This mode creates a new object (with a new Internal ID), and inserts all the elements in the export file.
    Note: This mode is designed to insert 'new' elements. The Duplication mode is used to transfer objects between two different repositories. To transfer objects from one repository to another, with the possibility to ship new versions of these objects, or to make updates, it is better to use the three Synonym modes.
    Note: This import mode is not available for importing master repositories. Creating a new master repository using the export of an existing one is performed using the Mimport tool.
    Synonym Mode INSERT : Tries to insert the same object (with the same internal ID) in the repository. If it is not possible (for instance an object of the same type with the same internal ID already exists) then nothing is inserted.
    Note: The Internal ID enables object identification: - It is unique for the object type within the repository - It is unique between repositories for the object type because it contains the repository unique ID The Internal ID appears on the version tab of each object.
    Synonym Mode UPDATE : Tries to modify the same object (with the same internal ID) in the repository. If the object does not exist, nothing happens. Note that this mode is able to delete information in the object (such as sub-objects) if they do not exist in the export file.
    Synonym Mode INSERT / UPDATE : combination of the two previous modes. It tries first to insert, and the object exists, does the update. Note that this mode is able to delete information in the object (such as sub-objects) if they do not exist in the export file.

Maybe you are looking for