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!

Similar Messages

  • Launch ODI scenario from PL/SQL

    I want to execute ODI scenario from PL/SQL procedure.
    1. I have created the java method using oracle.odi.sdk.invocation.*
    // Create the scenario command
    OdiCommandScenario cmd = new OdiCommandScenario();
    cmd.setScenName(pckName);
    cmd.setScenVersion(pckVer);
    cmd.setSyncMode(lSyncMode);
    cmd.setLogLevel(lLogLevel);
    cmd.setContext(lCtx);
    cmd.setSessionName(sesName);
    // Additional variables
    if (parNames != null) {
    for (int j=0; j<parNames.length;j++) {
    cmd.addVariable(parNames [j], parValues[j]);
    // Create the repository connection
    OdiRepositoryConnection conn = new OdiRepositoryConnection();
    conn.setOdiUser(lOdiUsr);
    conn.setOdiPassword(lOdiPwd);
    // Launch scenario (use Agent scheduler)
    try
    invocation = new OdiInvocation(lHostName,lPortNum);
    catch (Exception e2) { throw new Exception ("open OdiInvocation="+e2.getMessage());}
    OdiInvocationResult result = invocation.invokeCommand(cmd,conn);
    if (!result.isOk())
    {throw new Exception ("invokeCommand="+result.getErrorMessage());}
    else
    {sid = result.getSessionNumber();}
    invocation.close();
    rv = "OK"+sid;
    catch (Exception e) { rv = "ERROR: "+e.getMessage(); }
    finally
    return rv;
    // System.exit(0); // !!
    2. I have created a PL/SQL wrapper for this java method
    It is working satisfactory, an ODI scenario is launched, ID of ODI session is returned, but a java session is not finished, it stay to hang up.
    I have got the same result if I try to execute java-method directly from command line - session is hang up.
    I found only workaroud to use "System.exit(0)" to terminate session, but it is not a way I can use inside JVM.
    (I can to resolve it by deploying java method as web-service and call this webservice from DB - it works OK ... but it seems uselessly complicated ... )
    Version ODI: 10.1.3.5.3, JDK 5.0, Windows (but I've got the same result on the Linux)
    Any suggestions? Thank you very much.

    In your example you invoke ODI scenario using "startscen" command (using java method for launching OS command from PL/SQL).
    Yes, I have also tried this workaround - but it is complicated to get back a session ID or ODI error message. In addition to I had a problem with calling ODI scen asynchrounously - but I didn´t investigate this possibility too properly ...
    Thanks

  • Is Oracle Scenario same as ODI scenario?

    Hi
    I haven't worked on the ODI's scenario.., so have query regarding this.
    1.) Is oracle DB scenario same as the scenarios generates in ODI??
    2.) Provide me an example of writing scenario in ODI.
    3.)Can we map ODI file extraction with Oracle DB scenario?
    Hope for a reply.

    Hi ,
    1) ODI scenario is different from Oracle scenario .
    ODI scenario is nothing but the freezed ODI code .
    Say you have an ODI package and now you have created a scenario out of it . The code will get freezed in that scenario.
    Now if you make some changes in that particular package , those changes will not be a part of the scenario created . You have to regenerate the scenario or re-create it to get those changes .
    Once generated, the scenario is stored inside the work repository. The scenario can be exported then imported to another repository and used in different contexts.
    2) You can create ODI scenario by right clicking on Package, Interface, Procedure , Variable etc and choosing the option called "Generate Scenario" .
    3) Can you elaborate on this ? Perhaps an example ?
    Thanks,
    Sutirtha

  • 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 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.

  • Invoke ODI Scenario (11g) in BPEL (11g)

    Hello -
    I'm developing a BPEL process to load data from SQL Server to Oracle database using ODI . And after that I'm doing more orchestration in the BPEL process. I'm using
    1) Oracle Data Integrator 11g (11.1.1.3)
    2) Oracle SOA Suite 11g (Web Logic Server)
    Have created a scenario in ODI 11.1.1.3 to read data from SQL Server and load into Oracle Database. I would like call this ODI scenario in BPEL 11g as a FIRST Activity.
    Please help me the STEPS I need to
    1) To expose the ODI scenario as a web service?
    2) And to invoke ODI scenario in BPEL
    3) Do I need configure/install public web services or anyother checks I need to do on ODI_server domain(WLS) to ensure it has all the components it need ?
    Detailed steps are greatly appreciated
    Thanks
    Babu

    I hope you have found your answer but if not here are some pointers when working in the 11g ODI version. As far as I understand all generated scenarios will be exposed as a web service. ODI provides a small set of service methods available via the agent to invoke those services:
    invokeStartScen
    invokeRestartScen
    getSessionStatus
    getVersion
    To get the WSDL for ODI, simply point your browser or partner descriptor to a running ODI agent: http://agentHost:port/oraclediagent/OdiInvoke?wsdl
    For me running on my local host I can access both the Stand Alone or JEE agents on thier running ports:
    Stand Alone running on 8886: http://localhost:8886/oraclediagent/OdiInvoke?wsdl
    JEE running on 19001 deployed to WLS: http://localhost:19001/oraclediagent/OdiInvoke?wsdl
    As you can see there is no difference between the two agents and they both return with the same list of operations:
    <wsdl:binding name="InvokeRequestSOAP11Binding" type="odi:requestPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    *<wsdl:operation name="invokeStartScen">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeStartScen" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getSessionStatus">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getSessionStatus" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getVersion">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getVersion" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="invokeRestartSess">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeRestartSess" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    Once you have this then you can invoke the different methods from what ever tool you are using and here are some samples:
    Getting the Version -- No Parameters are Required
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:getWebServiceVersionRequest/>
    </soapenv:Body>
    </soapenv:Envelope>
    Invoking a Scenario -- Scenario: LD_ODI_CERTS Scenario Version: 5 Context: GLOBAL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:OdiStartScenRequest>
    <!--You may enter the following 2 items in any order-->
    <Credentials>
    <!--You may enter the following 3 items in any order-->
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUPERVISOR</OdiPassword>
    <WorkRepository>workrep</WorkRepository>
    </Credentials>
    <Request>
    *<ScenarioName>LD_ODI_CERTS</ScenarioName>*
    *<ScenarioVersion>005</ScenarioVersion>*
    *<Context>GLOBAL</Context>*
    <Synchronous>true</Synchronous>
    <SessionName>LD_ODI_CERTS</SessionName>
    <Keywords>WebService</Keywords>
    <LogLevel>5</LogLevel>
    </Request>
    </odi:OdiStartScenRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    This is covered in section 14 of the Developers Guide for ODI ([Working with Web Services in Oracle Data Integrator|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/web_services.htm#CJAJEBEJ]) and further expanded in section 19.7 ([Running Integration Processes|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/running_executions.htm#BABDHJJF]).
    If you need additional asistance with the creation of the scenario, well that is another question ;)
    Edited by: Sydney on Oct 20, 2010 11:45 AM

Maybe you are looking for

  • Itunes did not install propery

    i tried to burn a cd from itunes but it said that i didn't have any cd burning software. i haven't had any problem burning cd's before so i didn't get why it wasn't working. i tried reinstalling itunes, but when i finished and opened up itunes, it sa

  • What is iPod Updater?, does it do the same in itunes?

    is the iPod updater that is available for download on this site what does it do?, does it do that in iTunes update? thanks -billy

  • Suppress cumulated key figures for actual data

    Hello all, I have build a query which display monthly actual and forecast order income for an ficsal year. The fiscal year starts in July and end in June The forecast data were loaded in BW over an flat file for the whole fiscal year. The actual data

  • IWork 09 (not from App Store)

    I downloaded the 09 trial from the Apple site quite some time ago and then ended up purchasing the license for.  I just recently purchased a iMac and wanted to iWork on it.  I realized that I dont have a physical install file or record of the license

  • Problem with an SD / MMC Card Reader!!!

    ok here's the problem! i bought this 512MB DVRS MMC for my cell phone so i kinda thought maybe i could use a card reader ...it will be much faster than the usb cable..so i bought one...the memory works fine in the phone but the reader doesnt recogniz