Agent Execution Repository

How does a agent determine which work repository to execute scenerios from and write execution logs to.

This is not what I have observed. I started the agent in "agent" mode. Then I ran the startscen.bat to execute a scenerio. The agent will then refer to the odiParams.bat file to determine which work repository the scenerio exists in and write the execution information to that repository. Perhapse we are saying the same thing but I do not specify the work repository connection information "In packet initiating the execution", it is taken from odiParams at the time of execution. I have not tested this as a dynamic parameter, each time I have changed it I have restarted the agent.
T

Similar Messages

  • AD-OID synchronisation  Agent Execution Successful, Mapping/IMPORT operati

    Hi
    We are trying the AD-OID synchronization,using ActiveImport profile.
    The bootstrap is successful. But synchronization status is Agent Execution Successful, Mapping/IMPORT operation Failure.
    Attaching the trace file for import :
    LDAP Connection success
    Writer Initialised!!
    MapEngine Initialised!!
    Filter Initialised!!
    searchF :
    searchF : objectclass=*
    [LDAP: error code 12 - 00000057: LdapErr: DSID-0C09065D, comment: Error processing control, data 0, vece]
    ActiveImport:Error in Mapping EngineODIException: DIP_GEN_SEARCH_EXCEPTION
    ODIException: DIP_GEN_SEARCH_EXCEPTION
         at oracle.ldap.odip.gsi.ActiveReader.searchChanges(ActiveReader.java:303)
         at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:395)
         at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:278)
         at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:165)
    ActiveImport:about to Update exec status
    Updated Attributes
    orclodipLastExecutionTime: 20070117121046
    orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Failure During Search
    Ending Mapping execution.
    null
    Error in proxy connection : ODIException: DIP_GEN_AUTHENTICATION_FAILURE
    ODIException: DIP_GEN_AUTHENTICATION_FAILURE
         at oracle.ldap.odip.gsi.LDAPConnector.proxyConnectAs(LDAPConnector.java:350)
         at oracle.ldap.odip.engine.AgentThread.updateExecStatus(AgentThread.java:607)
         at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:208)
    Updated Attributes
    orclodipLastExecutionTime: 20070117121047
    orclOdipSynchronizationStatus: Agent Execution Successful, Mapping/IMPORT operation Failure
    orclOdipSynchronizationErrors: Agent Execution Successful, Mapping/IMPORT operation Failure
    null
    Error in updating the statusODIException: DIP_GEN_AUTHENTICATION_FAILURE
    ODIException: DIP_GEN_AUTHENTICATION_FAILURE
         at oracle.ldap.odip.gsi.LDAPConnector.proxyConnectAs(LDAPConnector.java:350)
         at oracle.ldap.odip.engine.AgentThread.updateExecStatus(AgentThread.java:680)
         at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:208)
    Please help us to solve this issue.
    we have one more issue.We used ActiveChgImp synchronization profiles for synchronization. But the profile ActiveChgImp deleted by mistake. Can create that profile (ActiveChgImp) one more time using createprofile, if so what prop_file I need to give for creating this?
    Thanks in advance

    You can use
    $ORACLE_HOME\ldap\odi\conf\backup\activechg.map.master to recreate activechgimp profile.
    DIP_GEN_SEARCH_EXCEPTION error is generic error. Try setting high debug level to generate more details.

  • Do we need Scenario for all to deploy to EXECUTION repository

    I am just trying to find this piece of information all over and could not find it(probably my search word may not be correct one)
    I have package (main one and generated scenario for that) which has scenario of other packages, some procedures as well as some interfaces. It's big junk of all the combination of objects
    My question is do we need to generate Scenario for all interfaces and procedures in order to promote to Execution repository
    OR just the main package's scenario and the child scenario is enough.
    I do not have scenario for Interfaces as well as odi procedures, do I need to generate scenario for all objects,
    Please any help would be greatly appreciated.
    I just found this link
    ODI Export Scenario, only main?
    As per the link I do not need to worry interfaces nor ODI procedures, which do not have a scenarios in DEV repository when go to EXECUTION repository.
    Please make me correct, if I am wrong
    Thanks,
    Edited by: user12236189 on May 11, 2012 4:12 PM

    You only scenarios to be taken to the execution environment.
    If a scenario calls other scenarios, then you need those child scenarios too.
    All the interfaces/procedures are not needed since they are already merged into your master package scenario

  • Development vs Execution Repository

    Hi
    Is it always a good idea to make the Production Environment an Execution Repository. Is there a good case for making it a Development Repository?
    Regards
    Geoff

    user964802 wrote:
    Hi
    Is it always a good idea to make the Production Environment an Execution Repository. In my opinion , it is better to have Production Environment always an Execution Repository
    In this case , only scenario (compiled code) can be imported from a dev environment , thus reducing the scope of unwanted changes .
    Is there a good case for making it a Development Repository?
    I am not aware of any .. please do share if you find a good case.
    Regards
    GeoffThanks,
    Sutirtha

  • ODI agent and Repository

    Hi,
    I would like to know what is exactly role of ODI agent and repository?
    If i am creating a new ODI environment using OLD one having slight chages at Target Database can i use same Agent for both th repositories?
    Thanks,
    Mahesh

    how would i create data servers and how can i use it?
    In ODI terms data server is the connection to one or many data store present under a connection.
    You need to create data server from Topology .
    You need to create a physical data server where you need to provide the physical connection info .
    You need to have a logical data serrver created which will connect to the physical dataserver via a given context .

  • 12c management agent on repository server doesn't start following a system crash

    My environment architecture for 12c Cloud Control (Used for personal practice purpose) can be explained as follows:
    @DBSERVER: (OEL6.5, x86-64)
         - 12c Enterprise Manager Cloud Control (EMCC)
         - 11.2.0.4 database that acts as a repository for 12c EMCC
    Monitored host is on a virtual machine (VM12) that is currently in the DBSERVER:
    VM12: (OEL6.5, x86-64)
         - 12c Management Agent that monitors the host and the database (12.1.0.1)
    The server was running fine for the last few months until recently when the computer had rebooted abruptly. Abrupt rebooting occurred a few times in the past, but this time it had an issue at the time of rebooting. The DBSERVER at the time of a startup starts the OMS and the AGENT. The OMS starts perfectly, but the AGENT does not start. Upon trying to start the agent, it shows the following error message:
    [orcl11204g@dbserver bin]$ ./emctl start agent
    Oracle Enterprise Manager Cloud Control 12c Release 3 
    Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    Starting agent ................. failed.
    Target Manager failed at Startup: targets.xml was rejected: loaded with a wrong agent token
    Consult emctl.log and emagent.nohup in: /home/u01/oemrel3/agent/agent_inst/sysman/log
    [orcl11204g@dbserver bin]$
    The targets.xml file contains the following information which doesn't seem to be of any help:
    [orcl11204g@dbserver emd]$ cat targets.xml
    <?xml version = "1.0"?>
    <Targets>
    </Targets>
    [orcl11204g@dbserver emd]$
    Can anybody provide the help during such circumstances?
    The DBSERVER repository database, listener and oms are up and running while the agent is down. The VM12 database, listener and agent is up and running. Is there any other file that needs to be checked for additional information?

    --> $/AGENT_INST/bin/emctl stop agent
    If agent does not shutdown gracefully then kill all agent background processes by first grepping for agent perl and java processes only
    --> Move your existing target.xml file
    mv target.xml target.xml.old
    --> Create an empty targets.xml file under /AGENT_INST/sysman/emd with the below content
    <Targets>
    </Targets>
    --> Start the agent
    $AGENT_INST/bin/emctl start agent
    This starts agent but without any targets populated in targets.xml
    To discover targets perform agent resynchronization operation from console
    Regards
    Krishnan

  • ODI Console - Execution Repository

    Hi All,
    Using ODI11g - One master repository , one DWR and one EWR.
    When i login into odiconsole using SUPERVISOR using work repository option.. i can execute scenarios in the Development Work Repository(DWR). But How can i execute scenario in Execution work repository(EWR) using ODIConsole ???
    -Henry.

    I think this how it works -
    When ODIConsole is installed it creates 2 jdbc connections on weblogic. It points to master and work repository using this jdbc connections.
    Hence you can only connect one work repository using ODIConsole.
    I change the JDBC to point to EWR and it started showing up objects from that work repository.
    It would have been nice if there were option to connect to any work repository while logining into odiconsole. Now the only way around is changing JDBC connection to point to repository of your choice.
    -Henry.

  • Failed to process the file in Input agent giving repository error

    Hi All,
    I have configured input agent on my machine and when I try to process the file, that file goes into STAGE folder and Error folder by giving the repository error.
    Please, anyone help me out.
    Thanks in advance.

    Hi Vikrant,
    I have checked the log its giving the following error log:
    [2013-04-30T07:38:39.633-06:00] [IPM_server1] [NOTIFICATION] [TCM-00129] [oracle.imaging.agents] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ecc27246272aba84:6c20b3cf:13e5aa0c54b:-8000-000000000000059c,0] [APP: imaging] Input Agent is checking for work.
    [2013-04-30T07:45:41.397-06:00] [IPM_server1] [ERROR] [] [oracle.imaging.ui] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ecc27246272aba84:6c20b3cf:13e5aa0c54b:-8000-00000000000005c6,0] [APP: imaging] A repository error occurred.[[
    oracle.imaging.ImagingException: TCM-00787: A repository error occurred.
         faultType: SYSTEM
         faultDetails:
         ErrorCode = oracle.stellent.ridc.protocol.ServiceException, ErrorMessage = Unable to execute service CHECKIN_NEW_SUB and function makeNewRevClass.
    The error was caused by an internally generated issue. The error has been logged.
         at oracle.imaging.repository.ucm.UcmErrors.convertRepositoryError(UcmErrors.java:161)
         at oracle.imaging.repository.ucm.UcmRepositoryOperationImpl.convertDocumentRepositoryError(UcmRepositoryOperationImpl.java:410)
    Also when I am checken in documents in content server , its giving the error : Unable to execute service CHECKIN_NEW_SUB and function makeNewRevClass.
    I think these two are because of the same problem.
    Please help me out.
    Thanks,
    Yogita

  • Scenario/Agent execution issue

    Hi Experts
    I am using ODI 10.1.3.5
    I have 2 scenarios which are scheduled.
    Scenario1 Executes multiple times in a day.
    Scenario2 Executes once in a day.
    Now if i change the time of the scenario2 and do an Update Scheduling in Topology manager, my Scenarion1 execution stops for the rest of the day which affects my data.
    Is there any clue to come out of this problem.
    regards
    Gourisankar

    My Package1->Scenario1 is scheduled at 3AM and run in every 4 hours throughout the day. [ *So the cycle will be 3AM , 7 ,11 ,3PM ,7,11 and back to 3 am* ]
    My Package2->Scenario2 is scheduled at 3.30AM and will run once in a day. [ *once execution at 3.30 am so no issue* ]
    Now if i have to run the scenario2 again at 2.30 PM in a perticular day.
    Once i change the scheduling of scenario2 to 2.30PM, i have to do an "Update Scheduling" in topology manager.
    [ *Now your Scenario 2 will be executed once at 2.30 pm , so no issue in this but i dont see any reason or way that i affects the scenario 1 execution cycle* ]
    Now when i do an "Update scheduling" at around 2 AM, Scenario1 stops executing the subsequent cycle after 2PM for that perticular day.Next day onwords Scenario1 starts at 3AM and executes in every 4hrs.
    [ *Here your scenario 1 will again startes at 2AM and so execution cycle wil lbe  2am , 6 ,10 am, 2pm , 6pm, 10 pm and finally 2 am which is not happening ,*
    Here Scenario 1 starts at 2 pm and at 2.30 pm scenario 2 starts , which means due to some reason when you update scheduling for scen2 , between 2 and 2.30 pm , the scen 1 execution got changed and went back to default of 3 am cycle , so please check your settings properly .
    So can you please check the option of Execution cycle and repetition option and check your starting and ending time too in case you have mentioned
    The issue is the perticular day i change scheduling time for another Scenario or same scenario(Scenario1 in this case).
    Because last execution cycle for Scenario1 should be around 11.50AM .
    [*Going by the details you have mentioned above there is no way the last execution cycle be at 11.50 am it should be rather 11 am* ]

  • How to use a Work Repository when type is set to 'Execution' ?

    Hi All,
    I was just trying my hand at importing and exporting work repositories , I need to know how we can use a certain work repository when its type is set to 'Execution'
    I want to import some packages (which are in some other Work repository ) into that Work repository but I am missing something somewhere.
    Can somebody tell me what are the exact steps to import packages or Entire Work Repository into this newly created 'Execution' type Repository ??
    Regards.

    Hi,
    An work repository which is of EXECUTION type cant be used to import packages/interfaces etc.
    You can able to import only SCENARIOS in Operator component (from scenarios tab) and "just" execute it. As the term execution repository stands, u can able to execute objects created in Development repository.
    Moreover, u cant access designer itself if its a EXECUTION repository.
    Thanks,
    Guru

  • EM12c - MSSQL Plugin repository mismatch - agent blocked

    Hello All,
    I'm trying to deploy a simple MSSQL 2005 & 2005 standalone insltance to the EM12c.
    I've deployed the Microsoft SQl Server plugin 12.1.0.2 on the Management Server as well as to the the Management agent on my host.
    Yeah I've gotten the following errors whihc suggests that its not been deployed on the agent?
    Thanks for advice.
    Jan S.
    Metric     Agent blocked status
    Metric Group     OMS communication status
    Target     svr-sql05-01.office.local:3872(Agent)Target Information
    Incident Created     Dec 12, 2012 12:44:49 PM EST
    Last Updated     Dec 12, 2012 12:44:49 PM EST
    Summary     Agent is blocked. Blocked reason is: Plugin mismatches between agent and repository. Check plugin:[ The plug-in is oracle.sysman.oh Version in pla inventory : 12.1.0.2.0 Version on agent : null Content type : AGENT Error code : TARGETS_BEING_MONITORED Error Msg : Targets are being actively monitored by this plug-in and hence upgrade/downgrade/delete is not possible, The plug-in is oracle.sysman.oh Version in pla inventory : 12.1.0.2.0 Version on agent : null Content type : AGENT Error code : NOT_FOUND_IN_INPUT Error Msg : This plug-in is present in the inventory for the given agent but has not been provided in the input]
    Internal Event Name     OMS_COMM_STATUS:blocked_status
    Event Type     Metric Alert
    Category     Unclassified

    Hello ,
    Here is the confirmatiopn tha the MSSQL plugin is installed on the agent and server:
    C:\oracle\product\agent12c\core\12.1.0.2.0\bin>emctl listplugins agent
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
    oracle.em.smss      12.1.0.2.0 C:\oracle\product\agent12c\plugins\oracle.em.smss
    .agent.plugin_12.1.0.2.0
    [oracle@srv-db-dev03 emcli]$ ./emcli list_plugins_on_server
    OMS name is EMGC_OMS1
    Plug-in Name                                                                                        Version [revision]
    Oracle Database                                                                                     12.1.0.2.0[20120804]
    Oracle Exadata                                                                                      12.1.0.3.0
    Oracle Fusion Middleware                                                                            12.1.0.3.0
    Oracle MOS (My Oracle Support)                                                                      12.1.0.2.0
    Oracle Virtualization                                                                               12.1.0.3.0
    Microsoft SQLServer Database                                                                        12.1.0.2.0
    Oracle Chargeback and Capacity Planning                                                             12.1.0.3.0
    Oracle Cloud Application                                                                            12.1.0.4.0
    Oracle Fusion Applications                                                                          12.1.0.3.0Thanks for your assistance.
    Jan S.

  • Errors when scheduling scenarios for agents using load balancing

    Hi,
    I have set up my ODI environment and have successfully manged to:
    * run scenarios manually in development repository
    * schedule scenarios and run on execution repository with one agent.
    However when I try to set up a second agent to load balance the scenarios I get the following error below.
    It seems to be a load balancing problem because I can run the scenario's successfully in every other case.
    I am running an oracle RAC database. (2 servers, one oracle instance on each). I have set up one ODI agent on each server and I am trying to load balance between these 2 agents.
    In topology I have set up 1 logical agent. Physical agent 1 is linked to itself and also to Physical Agent 2 under the load balancing tab.
    For my scenario's I have 2 master scenarios (which are the ones scheduled) that call a number of other scenarios in the correct order.
    Could anyone assist me please?
    Thanks,
    Matthew
    Error:
    ====
    java.lang.NullPointerException
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(Unknown Source)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(Unknown Source)
         at com.sunopsis.dwg.cmd.e.i(Unknown Source)
         at com.sunopsis.dwg.cmd.g.E(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpScen.a(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpScen.localExecuteSync(Unknown Source)
         at com.sunopsis.dwg.tools.StartScen.actionExecute(Unknown Source)
         at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(Unknown Source)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(Unknown Source)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(Unknown Source)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(Unknown Source)
         at com.sunopsis.dwg.cmd.e.i(Unknown Source)
         at com.sunopsis.dwg.cmd.g.y(Unknown Source)
         at com.sunopsis.dwg.cmd.e.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi,
    I'm wondering whether there may be a design flaw in the way our scenario's have been created / are executed.
    Currently we have x number of scenarios executed by a x master scenario.
    There are also y number of scenarios executed by a y master scenario.
    These master scenarios are the ones scheduled against the agent and they call the "sub-scenarios".
    We experience the above error when one of the "sub-scenarios" of a master scenario is executed on a different agent to where the master scenario is executed.
    Any help greatly appreciated.
    Thanks,
    Matt

  • Dynamic Creation of Physical Data Server / Agent cache Refresh

    Scenario:
    I have a requirement to load data from xml source to oracle DB, and the xml source will change at run time,but the xsd of the xml would remain same ( so I don't have to change the Logical data Server, models, mappings, interfaces and scenarios - only the Physical Data Server will change at runtime).I have created all the ODI artifacts using ODI studio in my Work Repo and then I'm using odi sdk to create the physical dataserver for the changed xml data source and then invoking the agent programmatically.
    Problem:
    The data is being loaded from the xml source to oracle DB for the first time, but it is not working fine from the second time onwards. If I restart the agent, it is again working fine for one more time. on the first run, I think the agent maintains some sort of cache for the physical data server details and so when ever I change the data server, something is going wrong and that is leading to the following exception. So I want to know, if there is any mechanism to handle dynamic data servers or if there is any way of clearing the agent cache, if any.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 41, in <module>
    AttributeError: 'NoneType' object has no attribute 'createStatement'
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1596)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:582)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:50)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         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:83)
         at oracle.odi.runtime.agent.support.DefaultRuntimeAgent.execute(DefaultRuntimeAgent.java:68)
         at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:445)
         at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:394)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    Hi ,
    If you want to load multiple files ( same structure) through one connection then in topology create M.XSD for M.XML file
    Create three directories
    RAW -- It will contain file with original name
    PRO- Processing area where file will be moved one by one & renamed it as M.XML.
    OUT- Once file data will be loaded into tables move the file M.XML from PRO to OUT.
    Go to odiexperts to create loop,
    Use odifilemove ( to move & rename/masking) to move A.XML from RAW to PRO & rename to M.XML
    use ODIfilemove to move M.XML to OUT folder & then rename back to A.XML
    Use variables to store file names & refresh
    NoneType' object has no attribute 'createStatement' : It seems that structure of your file is different & your trying to load different files in same schema. If stucture is same then use Procedure "SYNCHRONIZE ALL" after every load...
    Edited by: neeraj_singh on Feb 16, 2012 4:47 AM

  • How to deal with more than one work repository vividly?

    I create one master repository with two work repository , now how can i vividly build up ODI interface in differently work repository?
    anyone reply will be appreciately,thank you very much!

    There are two kinds of work repositories - Development and Execution.
    Usually you have one Development repository which you use to develop packages, interfaces, procedures, variables etc.
    As soon as you object is ready to deploy you can create scenario from it. Afterwards you can move scenario to any execution repository you have using export/import.

  • OdiStartScen in async mode: variables lost in execution queue

    I have the following case:
    - a scenario must be called for each row in a database table
    - this scenario has a variable, declared in the scenario parent package: variable values are read from the table
    - rows are more than the "maximum number of sessions" for the agent
    - execution of the scenarios should run in parallel
    So I made a procedure, with only one step. The source command is something like "SELECT col1 alias1 FROM MyTable". The target command, on Sunopsis API, is OdiStartScen -SCEN_NAME=MyScenario "-GLOBAL.VAR1=#alias1"
    When the procedure is executed by the agent, I have the following outcomes:
    - if OdiStartScen is run synchronously (-SYNC_MODE=1): OK, no problem
    - if OdiStartScen is run asynchronously (-SYNC_MODE=2) AND the number of rows in MyTable is less than the "Maximum number of sessions" set in Topology Manager for the executing agent: OK, no problem
    - if OdiStartScen is run in async mode, and the number of rows in MyTable is greater then the maximum number of sessions, then the execution is OK only for the first rows of the table. Successive executions get enqueued, but when it's time for the agent to run them, Operator reports the followin error: "Variable has no value".
    So it seems to me that variable values don't get enqueued, is it correct?

    OK, my suggestion is:
    It will be necessary add a new procedure at the process.
    Create a new procedure and:
    1) at 1º step:
    Target Tab
    Technology: javascript
    code:
    <@String vSS="";@>
    2) 2º step
    Source Tab:
    Exact the same query, technology and Logical Schema as where the problem happens.
    Target tab
    Technology: javascript
    code:
    <@vSS+=" select 'OdiStartScen -SCEN_NAME=TESTPARALLEL -SCEN_VERSION=001 -SYNC_MODE=2 -GLOBAL.HOST=#p_host -GLOBAL.LAST_DATE=#p_last_date' as vComm from dual union";@>
    *** VERY IMPORTANT: do not let any return carriage at the above command... probably it will appear into two lines at you screen but be sure that there is no return carriage character. I mean, the 2 lines are just because it can not be showed at just one.
    3) 3º step
    Target tab
    Technology: javascript
    code:
    <@vSS=vSS.substring(0,vSS.length()-5);@>
    4) now, a small change at your original procedure...
    at the step where the select was done change the code to:
    Source tab --> keep all but the code:
    New code:
    <@=vSS@>
    Target tab --> keep all but the code:
    New code:
    #vComm
    I believe that will solve the problem... I converted the parameters to strings then they do not need to exist as parameter at a new agent (balance)
    obs.: Must be done in 2 procedures, because a javascript limitation.
    Make any sense?
    Please, try it and let me now... As I wrote the code with no ODI maybe could have some typed mistake, if you get any error let me now. (You can address me by my email at profile)
    Edited by: Cezar Santos on 04/12/2008 16:52

Maybe you are looking for

  • Asset in incomplete while posting invoice MIRO

    Hi All, I have raised an P.O with account assignment 'A' P.O has created but while posting invoice through t.code Miro i am getting the error 'asset co.code xxxx asset no.xxxxxx is incomplete. let me know were i need to check.

  • ITunes 10.2.1(1) runs slowly when left running for extended time

    iTunes on my Mac runs slowly the longer it is left up. I have two AppleTV's (ver 2), and if iTunes has been up for more than a day, it can take minutes for the list of movies/tv shows to appear on the AppleTV. Likewise, iTunes itself becomes very slu

  • Please help with File input!

    This is my first time dealing with file I/O and need help figuring out the best way to read in data and store it for further manipulation. I have a file that contains an individual's salary, and 3 product ratings on each line, such as: 75000 01 05 09

  • Repair PO with Price Change for Some Items

    Hi, I have situation where we create a Repair PO for qty for 100 for an Item A with a standard unit repair cost of 10. The Repair Vendor receives the Items and inspects and updates that the cost of the repair for 10 item will be more than 10 i.e 15.

  • Exporting TIFFs from Lightroom 5 to Photoshop CC. Banding problem.

    I get this annoying problem with color banding when i export 16bits TIFFs ProPhoto RGB (with no compression) from Lightroom to Photoshop CC. Both LR and PS working space is set to ProPhoto RGB color space. Miraculously, the banding dissapears when i