Agent Scheduler

Good day everyone
Im having problems with assigning an agent as a scheduler agent. I am not sure what I am doing wrong.
First I start my agent :
./agent.sh -port=20300
Then assign it as a scheduler agent
./agentscheduler.sh -name=unix_agent -port=20300
This is what it returns :
Starting Oracle Data Integrator Agent...
Version : 10.1.3.5 - 10/11/2008
java.net.BindException: The socket name is already in use.
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:417)
at java.net.ServerSocket.bind(ServerSocket.java:342)
at java.net.ServerSocket.<init>(ServerSocket.java:208)
at java.net.ServerSocket.<init>(ServerSocket.java:120)
at com.sunopsis.dwg.DwgSrv.<init>(DwgSrv.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
It says that the socket name is already in use. i grep 20300 and seems like its free.
Any thoughts ?
Thanks in advance everyone

My bad. Solved

Similar Messages

  • Performance and agent scheduler agent - help

    Hi,
    I am facing two problems
    1. Performance issue - I am trandferring data from SQL SERVER to ESSBASE using LKM SQL to SQL and IKM SQL to ESSBASE(data). The interface takes more than 15 min for 2000 records. Is there any options to improve the performance or shud I use any other KM
    Note: Essbase and SQL SERVER are in different servers.
    2. I created agent scheduler as service in windows server. But while starting the service it says" ERROR 1067 : The process terminated unexpectedly"
    Thanks,
    Senthil

    Actually, I have several steps:
    1. odifilewait moves the file test_SEQ.xml from the computer on the network to folder A.
    2. odifilecopy - copy file test_SEQ.xml to folder B - this is the folder where the xml source file is defined in topology manager (test.xml).
    3. odifilewait - moves (renames) the file from test_SEQ.xml to test.xml in folder B.
    4. odi processed test.xml
    5. odifilemove - moves test_SEQ.xml from A to folder C
    6. odifiledelete - deletes test.xml from folder B.
    The agent has administrator rights.

  • Agent scheduler issue

    Hi guys,
    I have the following situation:
    I've created a package which picks up a xml file from a computer on the network, moves it to my local machine, processes the data in it and then writes some data in a (Oracle) DB.
    When I try to run the package using an agent (scheduler agent), it works fine the first time, but the second time and further on, it moves the files, but it processes and writes to DB the same data as it did the first time. It's like it doesn't "refresh" the data, it doesn't read anymore from the files. It uses the data it read from the xml file the first time.
    If I restart the agent, it works fine again for the first time, then the problem repeats.
    When I run the package without the agent (Local), it works fine no matter how many files I process.
    Any suggestions?
    Thanks!

    Actually, I have several steps:
    1. odifilewait moves the file test_SEQ.xml from the computer on the network to folder A.
    2. odifilecopy - copy file test_SEQ.xml to folder B - this is the folder where the xml source file is defined in topology manager (test.xml).
    3. odifilewait - moves (renames) the file from test_SEQ.xml to test.xml in folder B.
    4. odi processed test.xml
    5. odifilemove - moves test_SEQ.xml from A to folder C
    6. odifiledelete - deletes test.xml from folder B.
    The agent has administrator rights.

  • DESS_ES_HOME: null When Running ODI agent scheduler

    Hi Experts ,
    I have scheduled a 2 scenario's in ODI 10g with 15 Mins interval and started the agentscheduler.bat, Once after the first scenario is executed, I am getting the below error on the agent and the next scenario is not getting executed.
    Could you please guide on this.
    Agent scheduler.bat :
    OracleDI: Starting Scheduler Agent ...
    Starting Oracle Data Integrator Agent...
    Version : 10.1.3.5 - 10/11/2008
    Agent in scheduling mode
    Number of items for scheduled executions:2
    09/02/2013 12:57:59 AM(main): Server Launche
    [INFO] s - Start Thread[4010@2013/09/02_01:0
    49 AM
    Initalizing the essbase wrapper and connecti
    Error accessing the properties file. essbase
    system cannot find the file specified). Usi
    Hyperion Provider Services - Release 9.3.1.1
    Copyright (c) 1991, 2007 Oracle and / or its
    connection mode : EMBEDDED
    essbase.properties: essbase.properties
    domain.db location: domain.db
    console log enable : false
    file log enable : false
    logRequest : false
    logLevel : ERROR
    java System properties -DESS_ES_HOME: null
    Thanks
    Alex

    According to this post
    Essbase Users: Setting -DESS_ES_HOME in Eclipse for EssbaseJAPI
    i suppose you aren't finding DESS_ES_HOME value. Just a question: are you using an agent based on your essbase machine?

  • Incremental file load with agent scheduler

    Hello.
    I have a problem with agent scheduler. At first Ill describe what I do:
    I wanna load data from files named xx_20100101, xx_20100102, xx_20100103, and so on..
    - I created interface which loads data into oracle table.
    - File Data store (resource name) is called #file_name. #file_name is Variable computed from metadata table.
    - This metadata table contains data about files and statuses. E.g. columns (File name,File date, Status) data (xx_20100101,20100101,READY).
    - I created Procedure which sets Status from READY to DONE after successfull load from every file into table.
    - All these steps are in Package. So when I run this package (with steps: Declare variable -> run Interface -> Run package -> Refresh variable).
    - Variable is computed as record with min(File Date) and Status = 'READY'
    After execution of package everything looks ok.
    But when I execute Package via agent scheduler only step with Interface is correctly runned. Packege which changes status of file load does no update and variable is not refreshed. So that next run of Package computes with sam data as first run.
    Where can be a problem?
    Thanks.

    Always use the #<PROJECTCODE>.<VARIABLENAME> syntax.
    Where you want to use the variable in the file name it is best practice to run each iteration of the file load in a separate session. You should take the approach to invoke a scenario with the variable passed in as a parameter for each file to be processed.
    Inside the "child" scenario you should declare the variable (making sure it is a non-persistent type) before you execute the load.
    If you run the scenario synchronously you won't have to change the KMs to make them run in parallel by modifying the temporary table names - conversely, if you change the KMs to use unique table names for the temporary tables (C$, I$) then you will be able to run the scenarios asynchronously and in parallel.

  • I just wonder why agent scheduler did not run during SAT and SUN?

    Hi guru,
    I just set agent scheduler to run on daily mode but past 2 days which are Saturday and Sunday. It did NOT run. I just see that there is a Weekly mode to check from Monday to Sunday so meaning that I need to use Weekly mode instead, isn't it?? There is no explanation in product manual as well. Someone please help me for this case. Thank you so much in advance.
    Best regards,
    JN

    Hi,
    For me the same is working fine with option daily mode.
    Please cross check the following things .
    Did you selected any active period ?
    Didi you selected any thing other than None execute once in execution cycle tab ?
    Rathish A M

  • Getting Error In Agent Scheduler

    Hi ,
    I have configured my ODIPARAMS file as per ODI docs.......
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@172.26.0.88:1521:as
    set ODI_SECU_USER=SCHEMA1
    set ODI_SECU_ENCODED_PASS=fDypWzZupMsMwFefjUMy
    set ODI_SECU_WORK_REP=ANANDA
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    I have launched my agent scheduler using this cmd:
    AGENTSCHEDULER "-PORT=20300" "-NAME=AGSCH" "-V=5"
    It launced successfully..........
    I tested the same in my Topology It showed me succesfull.....Agent Test Successfull.
    When I right clicked the Physical Agent Update Schedulling ........
    I am getting .....This agent does not manage Scheduling .......Then agent is not a scheduler..........
    Thanks
    AK

    Hi,
    The Probelm is resolved , I forgot to update this in the Forum....
    Mistakes I made in ODIPARAMS file are:
    1.Gave Wrong Schema Name.
    2.While copying my ODI_SECU_URL, I missed out ' :' in the parameters..........
    Works as Expected Agentscheduler......!!!!
    Thanks
    AK

  • SQL agent scheduling for SSIS package

    I have a package with a souce and destination connection using login as 'sa'.
    I created a scheduling task to call this package for running. However the sql agent service is running as domain user . It required to be running as domain user as per requirement.
    Thus when I scheduling the package for execution, it hit error.
    Please advise what I can do in order to be able schedule the ssis package?
    Thanks in advance.

    Here is the step that I create the proxy :
    https://www.simple-talk.com/sql/database-administration/setting-up-your-sql-server-agent-correctly/
    I try to create the proxy but still have error as below:
    Executed as user: YS2H\svr_agent. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.2500.0 for 32-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  8:21:26 AM  Error: 2015-03-27
    08:21:26.24     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified
    state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2015-03-27 08:21:26.44     Code: 0xC0016016    
    Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error
    occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2015-03-27 08:21:27.03     Code: 0xC0202009     Source: 1001_Import_DownloadRoadCard Connection manager
    "Destination"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" 
    Hresult: 0x80040E4D  Description: "Login failed for user 'sa'.".  End Error  Error: 2015-03-27 08:21:27.03     Code: 0xC00291EC     Source: Evaluate Completion Status Execute SQL Task    
    Description: Failed to acquire connection "Destination". Connection may not be configured correctly or you may not have the right permissions on this connection.  End Error  Error: 2015-03-27 08:21:27.05     Code: 0xC0202009    
    Source: 1001_Import_DownloadData Connection manager "Destination"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLE DB record is available.  Source:
    "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'sa'.".  End Error  Error: 2015-03-27 08:21:27.05     Code: 0xC00291EC     Source:
    Record Start of Job Execute SQL Task     Description: Failed to acquire connection "Destination". Connection may not be configured correctly or you may not have the right permissions on this connection.  End Error  DTExec:
    The package execution returned DTSER_FAILURE (1).  Started:  8:21:26 AM  Finished: 8:21:27 AM  Elapsed:  0.983 seconds.  The package execution failed.  The step failed.
    Thanks for your help.

  • Can ODI agent (scheduler) be configured?

    Hi,
    I have an ODI project, and an agent associated to this project. The agent is scheduled to run every 2 hours. My questions are:
    1. The agent doesn't provide a time gap of more than 2 hours. What do I need to do in case I have to run my ODI process once every day?
    2. Suppose I want to provide the flexibility to the users of this process:
    Either you can make the process manual, or you can schedule it with a time duration of your choice. This configuration will be stored in an XML file, and can be changed during run-time. How do I implement this?
    3. In case the above flexibility cannot be provided run-time, can I do the same for install time? If so, how?
    Thanks in advance,
    Arindam

    Hi,
    let me try to help..
    1) Something is wrong...
    You can configure the scenario to execute once a day, week, month and year. Just alter the parameter at scenario scheduling window.
    2) You could use metadata navigator for user's executions and for change the scheduling parameter. Of course that a process to it can be developed but I strongly recomend to use the metadata.
    3) The same as answer 2.
    Does it help you?

  • Agent Scheduler - Schedule Scenario programatically

    Hello
    Im working with scenario scheduling using a scheduler Agent in Oracle Data Integrator 10g. I know the schedule can be set from the Designer or the operator tools but for some of the defined scenarios i need the user to set the execution schedule using a web application (Java Web application). I can´t let the users connect to the Work Repository to set the schedule for a scenario.
    Is there a way to set the schedule for a scenario programatically using the ODI Java API or a Web service? I want to create new schedules for a scenario or change a schedule without of the Operator or Designer tools, and preferably without messing directly with the Master Repository
    An alternative could be managing the schedule in the web application using Quartz or Cron and then invoke the scenario with the OdiInvoke public web services, but i prefer to use the scheduler agent.
    Thanks in advance

    There a lot of ways. It just depend on how you can customize it. Create a batch file to trigger the scenario.
    Now a create small java program to run batch file and make a looping for infinite times and just after the trigger of scenario supply the sleep time for required interval.

  • Help Requested - Agents/Scheduler/Bursting Mode/

    Hello,
    I have OBIEE 11G.
    I have an automated email bursting requirement.
    The details are -
    I have one Table of people's names, address, email id and personal details. These people are not intended to be OBIEE users.
    It is a table with people's names and email id.
    Using each person's id(Pri key), I want to create a personalized email message and send it out to the intended email.
    Sample rows-
    Name: Vikram, Address: 123 abc st, Email: [email protected]
    Name: Ram, Address: 345 xyz st, Email: [email protected]
    message would be
    Hello <vikram>
    <Addr: 123 abc st>
    Welcome!
    Thanks
    And it has to be sent to the email [email protected]
    (( I'm researching more on using the SA system table .. but I really do not want to create them as OBIEE users.))
    I want help in terms of what would be the best way to do that. I need direction to look into.
    Further action:
    Each time a new user is added to the table - the personalized email should be sent to that member. ((Maybe use flags??)
    (I was thinking in terms of Triggers - & is there a way to use scripting for scheduling agents? command line?)
    Please ask more details and I can answer them for help.
    Thanks
    Vikram

    Hi! Thanks for the reply,
    After much googling we've finally found a stable configuration.
    java.args=-server -Xmx768m -Xss64k -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/ -verbose:gc -Xloggc:c:/Jrun4/logs/gc/gcInstance1b.log
    I tried playing with the survivor ratio but came back to the default when I didn't notice much improvement.  In the end what did it (pretty sure) is -Xss to reduce the requests size living on the stack.  Our large initial heap, perm + overhead combined with the default request size was causing the JVM to go over and blow up I think.
    We've been stable for over a month now, the next step for us is to reduce the MaxPermSize a little at a time to find our optimal range.

  • Agent scheduling

    what is the main purpose of scheduling ?Can scheduling be done only with an agent ?
    what are the different types of scheduling i.e scenario scheduling,poject scheduling ,procedure scheduling,model scheduling, and what is the difference between them ?
    Can anyone help me to schedule a practical real time scenario using an agent . is there any example with screen shots helpng teh same.
    is a table created and dropped every time we schedule a scenario or a procedure?

    851305 wrote:
    what is the main purpose of scheduling ?to run a specific task at a specified time
    Can scheduling be done only with an agent ?yes
    what are the different types of scheduling i.e scenario scheduling,poject scheduling ,procedure scheduling,model scheduling, and what is the difference between them ?you need to create scenario for scheduling
    >
    Can anyone help me to schedule a practical real time scenario using an agent . is there any example with screen shots helpng teh same.check
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/10g/10135/creating_scheduling_scenario/creating_scheduling_scenario.htm
    odiexperts.com/scheduling-using-odi-scheduler
    is a table created and dropped every time we schedule a scenario or a procedure?not sure about this question

  • Weblogic Agent Schedule Not Updated

    Hi,
    We have a weblogic agent running on our app server. We can Test with success and can run scenarios on it. When we add scheduling we go to Update schedule and get a successful message there but nothing shows in the schedule - and the job does not run.
    I saw one (only one) thread on here about it and they said that they bounced the weblogic server. We have tried that but no success.
    As we are new to weblogic does this "bounce" mean just within weblogic or the physical machine?
    I assume that there is nothing to change in agent.bat when dealing with weblogic agents.
    TIA
    Sev.

    Hi Suritha,
    Just one line in there from the earlier test. Sorry it's so ugly.....
    All help welcome.....
    Sev.
    "I_PLAN_AGENT"     "SCEN_NAME"     "SCEN_VERSION"     "LAGENT_NAME"     "CONTEXT_CODE"     "STAT_PLAN"     "S_YEAR"     "S_MONTH"     "S_DAY"     "S_MONTH_DAY"     "S_WEEK_DAY"     "S_HOUR"     "S_MINUTE"     "S_SECOND"     "R_TIME"     "R_DUR_INTERVAL"     "R_INTERVAL_UNIT"     "R_DUR_CYCLE"     "R_CYCLE_UNIT"     "R_DEADLINE"     "R_DEADLINE_UNIT"     "R_TIME_ERROR"     "IND_RESIDENT"     "LOG_LEVEL"     "S_BEGIN_DATE"     "S_END_DATE"     "S_TYPE"     "USER_NAME"     "S_BEGIN_HOUR"     "R_TIME_ERROR_INT"     "S_END_HOUR"     "S_EX_DAYS_MONTH"     "S_EX_DAYS_WEEK"     "S_WEEK_DAY_RANK"     "IND_JOB_TYPE"
    29050     "POP_TEST"     "001"     "oraclediagent"     "XXX_DEVELOPMENT"     "E"     "2012"     "7"     "12"     ""     ""     "12"     "10"     "0"     1     ""     ""     ""     ""     ""     ""     ""     ""     5     ""     ""     "S"     "SC001"     ""     ""     ""     ""     ""     ""     "S"

  • Problem in creating a Windows Service Scheduler Agent

    Hello,
    I have different Listener agent created as NT Services which work fine, but for my new scheduling need I have tryed to transform them into Scheduler Agent NT Services but I'm facing error.
    In the agentservice.log I obtain the following error code:
    STATUS | wrapper | 2008/04/17 16:49:00 | OracleDI Agent Scheduler Agent_Gensapp12 installed.
    STATUS | wrapper | 2008/04/17 16:49:19 | --> Wrapper Started as Service
    STATUS | wrapper | 2008/04/17 16:49:19 | Launching a JVM...
    INFO | jvm 1 | 2008/04/17 16:49:19 | Wrapper (Version 3.1.0) http://wrapper.tanukisoftware.org
    INFO | jvm 1 | 2008/04/17 16:49:19 |
    INFO | jvm 1 | 2008/04/17 16:49:20 | Starting Oracle Data Integrator Agent...
    INFO | jvm 1 | 2008/04/17 16:49:20 | Version : 10.1.3.4.0 - 30/10/2007
    INFO | jvm 1 | 2008/04/17 16:49:20 | com.sunopsis.tools.core.exception.SnpsRuntimeException: java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.n.a(n.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.j.f.run(f.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.y(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.run(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at java.lang.Thread.run(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | Caused by: java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.a.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.if(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.for(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.int(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.executeQuery(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.e.h(e.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | ... 5 more
    INFO | jvm 1 | 2008/04/17 16:49:20 | Caused by:
    INFO | jvm 1 | 2008/04/17 16:49:20 | java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.a.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.if(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.for(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.int(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.executeQuery(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.e.h(e.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.n.a(n.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.j.f.run(f.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.y(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.run(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at java.lang.Thread.run(Unknown Source)
    It seems to be a connexion error but I have regenerate all the repository connexion information for OdiParams.bat and nothing change.
    If you have an idea I really need it.
    Thanks in advance.
    BM

    Hi Micropole,
    It may have something to do with
    SNP_SECU_USER & SNP_SECU_ENCODED_PASS pointing to something other than the Master Repository schema.
    Can you please double check?
    thanks.

  • Reporting agent - Back ground scheduling

    Hello Gurus,
    I am trying to schedule the reporting agent scheduling package in Background... Is it possible to schedule it in Background when executing via Process Chain.
    Thank you

    Thanks for the Info.
    But the situation that I am facing is.. I have a remote cube and the regular cube attached to a multiprovider which is used to reconcile BW report with that of R/3 tables.
    When I execute the report in BW ... the data that is read from R3 tables ... it is under DIA process.
    the time out is set to 20 minutes. and everytime the report is executed it is saying uncaught exceptiona and when I check in the log it says time exceeded.
    Is there anyway that I can schedule the R/3 side job to a Background job (so that there would be no timeout).
    I hope I am clear..
    Please help me on this issue.

Maybe you are looking for