Scheduled scenario execution failures
Hi,
I am facing some weird situations.
Currently we have scheduled execution of Packages in morning. Now some of the packages (Actually procedures in packages) are failing in scheduled execution but when i re execute same procedure in say 5 minutes are so they execute successfully.
I am using Oracle as source and destination database.
What would be exact problem?
would it be with databases?
Thanks,
Mahesh
Hi Bhabani,
I have a kind of similar procedure used for 5 different factories with slight changes in it say PROC_A,PROC_B,PROC_C,PROC_D ,PROC_E..
All of them has some date related functions .
The failing of procedures is not specific to any procedures but failures are same.
Error givrn over here is
ODI-1228: Task PROC_POZ_BOSS_OMP_BOSSWORKORDER (Procedure) fails on the target ORACLE connection Staging POZ ODI.
Caused By: java.sql.SQLDataException: ORA-01861: literal does not match format string
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
But strange thing id that as soon i reexecute the same code in SQL,or PROCEDURE in ODI both executes fine.
Even without much difference of a time.
And yes Agent was up at that time.
Currently no jdk issues are faced yet.
Thanks,
Mahesh
Similar Messages
-
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 -
Cuic : SCHEDULED REPORT EXECUTION FAILED
Hey.
Every time i try to schedule a report to being send with an email and pdf i only get an email saying
SCHEDULED REPORT EXECUTION FAILED
The email has no subject or anything.
If im scheduling it to send it as xls og html i works fine - but fails on the pdf.
Has anyone seen this before.
The logs says nothing about a failure.
My system is and
UCCX 9.02
Best regards
ThomasHi Jörg,
we use simple server based batch scripts . These scripts use the functionality provided by the BPA Admin tool to perform different tasks. You can either start macros inside the tool or perform other tasks like backing up the DBs etc.
This is a very simple by proven way to automate server based activities. We use this since the old ARIS days
Cheers
Dirk -
Scenario execution ???
hi,
i want to stop the scenario execution after a fixed amount of time.i scheduled it daily and also set the stop after execution constarint as 30 min while scheduling .also my repetition tym is of 5 min. but infact the scenari keeps on getting executed even after 30 min .
pls suggestHi
We currently encounter exactly the same issue that yours.
"odi error message : agent port is malformed"
we try to launch ODI package using the http method (there is an example on ODI server, it uses startscen.do page)
How do you manage to overpass this issue?
THanks in advance
xavier -
Scheduling scenarios for every half hour in ODI 11g
Hi,
I am using ODI 11g.
My requirement is to execute a scenario after every half hour.
I can just see that scenarios can be scheduled on hourly basis only.
Please guide me how can i schedule scenarios on half hourly basis also.
Thanks,
DivyaHi Divya,
Open your scheduling and go to Execution Cycle tab and Under Repetition select "Many Times", then set "Interval Between Repetitions " as 30 minutes or so.
Thanks,
Guru -
Error when using FTP in iWeb 09! "Error 500: Script Execution Failure"
I have my domain through 123-reg and I have free hosting with host-ed.net when I add a simple index.html file my website works fine displaying the 1 line of text that I asked for, so it is all configured correctly.
How ever when I use the FTP upload thought iWeb '09 I always get "Error 500: Script Execution Failure"
www.breslan.co.uk
Anyone know why?I have logged into my hosting and changed the permissions to '755' and move the files from the folder iweb used to the root of the site i know get "Parse error: syntax error, unexpected T_STRING in /~/www/breslan.co.uk/index.html on line 1" there is only 1 line of code in index.html and that is
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= Welcome.html" /></head><body></body></html>
please help! -
Hi!
After integrating and configuring Siebel Marketing 8 with OBIEE 10g, I can now create segments using OBIEE metadata.
But how can I schedule the Segment execution, in order to load S_CAMP_CON at a schedule date/time, so it does not load it during the day, when the system is heavily used?
thanks.
FPGHi,
Have you selected any query saved under the Category defined by you? The Schedule will be greyed out till the time the saved query from the category is not highlighted.
Check whether you can schedule the query to be run to the defined parameter in the Schedule : Report Execution.
Kind Regards,
Jitin
SAP Business One Forum Team -
Hello~
I upgraded ODI version 10.1.3.5 to 11.1.1.6 without any error.
However although I restart agent, scheduling scenarios don't work on time.
So I regenerated one of scenario using ODI studio menu and then this scenario worked successfully on scheduled time.
After upgrading, do I have to regenrate whole scenarios?
Isn't there any other workaround?
Edited by: user612431 on 2012. 5. 15 오후 10:42
Edited by: user612431 on 2012. 5. 16 오전 2:29Hi, I have copied the jar file in users/appdata/.../userlib also. But let me go through this document and see what it says. I will get back to you. Thank you very much.
But tell me if I understood this correclty:
Inorder to upgrade from 10.1.3.5 to 11.1.1.6, I have executed the following steps so far:
1) I ran the RCC on my old repositories to check if they are consistent to migrate and it was successful.
2) Copied the E*,M*,W* xml files that RCC created into the oracledi.common\...\sqlserver\patch\ and oracledi.sdk\...\sqlserver\patch folders.
3) Cloned the existing master and work reps of 10g.
4) Installed the ODI 11g, but did not create the master rep and Work rep in 11g hoping that I would upgrade the existing cloned 10g repositories.
Now my understanding after going through some documents online is that UA uses the cloned repository details (master and from there it gets the work rep details) and 10g supervisor details that we provide and connects to cloned master and work reps and upgrades them. I do not know what this jdbc error is? Because I tried and could also create a brand new master repository in the 11g using ODI studio, now if 11g could not connect to DB using the jdbc how could it have created the repository. If 11g connects to DB I am assuming that UA should also be able to connect right?
Please correct me if my assumptions are wrong.
Thanks
V -
Outlook data prevention execution failure
I recently bought a new compl3uter and installed outlook 2013 (32 bit) and the icloud add in. It has worked well until today.
The addin is disabled because of a Data prevention execution failure and will not re-enable.
I have tried repairing outlook, logging out of icloud and removing/reinstalling icloud. What is left?Did you try to update the drivers of printer?
-
Hi All,
While creating/update scenario scheduling
does I have to update it also in agent on physical?
If so, Isn't a way to update it through the operator?Hi Guys,
Let me contribute a little,
Yes its possible by OdiUpdateAgentSchedule utility.
1. Create a package, lets say Update Scheduling.
2. Drag and drop the utility, OdiUpdateAgentSchedule and select your Scheduler agent from the drop down.
3. Generate a scenario out of the package.
4. So whenever you create/update scheduling, run this Update Scheduling scenario from the operator to get the scheduling information get updated in the agent.
http://img185.imageshack.us/img185/4308/screenshot037x.jpg
Makes sense?
P.S: if you wanna make it automated, you can schedule that scenario for a particular time interval to get "auto" update of scheduling information.
Thanks,
G -
Return Code for scenario execution
When we execute an interface,package or scenario.
We can go in execution tab and see the start time , end time and Return code which has values like 0,7000,1722,1777 etc.
This value is fetched from odi system table :-snp_sess_task_log.
This table contains the log status for an execution . it contains start time, end time ,status code and all.
My problem is that i want to know which table stores the status code that table snp_sess_task_log picks from.
I mean is there any master table containing all the error codes/status codes that can occur in a scenario execution?I mean is there any master table containing all the
error codes/status codes that can occur in a scenario
execution?The code and the message come from the RDBMS...
But they are stocked on a table after raising.
Try this on your work rep connexion:
SELECT *
FROM SNP_STEP_LOG L, SNP_SESS_STEP SS,SNP_SESSION S,SNP_EXP_TXT X
WHERE
L.SESS_NO = SS.SESS_NO AND
L.NNO = SS.NNO AND
S.SESS_NO = L.SESS_NO AND
STEP_STATUS = 'E' AND
L.I_TXT_STEP_MESS=X.I_TXT -
Hello Gurus,
Can anyone please tell me, if the e-CATT scripts can be scheduled for execution. I know it can be executed in the background, but can it's execution be scheduled.
Will be very grateful for an answer.
Regards,
Debojit DeyHi debojit,
we can schedule this using VB script , using this VB script in batch file and batch file in turn to scehdule in windows scheduler.
please search on ecatt schedule , i think we have few posts done with VB script code.
regards
vinay -
Scenario execution error ORA-21561
I have scheduled a scenario in ODI to run hourly. Last night one execution was failed with Error message "ORA-21561: OID generation failed". But all other execution are running properly other than that particular one. What is the reason for this?
sugatha,
Check the metalink bug 6637514.
This may be the reason of failure of only one scenario out of several. -
Scheduled scenarios not working
Hi everyone,
I have created and configured ODI agent as Java EE Application successfully as mentioned below:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/setup_jee_agent/setup_jee_agent.htm
The test is successful.
Now I am trying to schedule a scenario using this agent as below :
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/Creat_Schedul_Scen/Creating_Scheduling_Scenario.htm
But seems like the scheduler never runs..and there are no execution logs as well.
When I try to run the same scenario using the same agent, it runs fine.
Am I missing something here?Yes.. I have already done - Update Schedule on that agent.. The scheduled is updated successfully.
Additionally, I have more then 1 agent up and running...Will that cause any problems?
Do I need to do something in the Load balancing tab of the agent?
Edited by: 937825 on Jun 1, 2012 1:34 PM -
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 advanceThere 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.
Maybe you are looking for
-
How to print selected Item rows in AR Invoice under PLD?
Hi, Customer is running on 2007A PL30. They are distributing drugs to clinics and hospital. Eg. In AR Invoice, they are selling 10 items to customer. The 10 items will be printed out in AR Invoice. Assume out of these 10 items 2 of it are poison. Cus
-
Sender File Channel Cluster Node issue in CC monitoring
Hi, I have a issue in Sender File CC. The channel is active and polling every 1 min. The issue is in the CC monitoring it is just showing one single line i.e "Polling interval started.Length: 60.0 seconds" the other two lines Processing started and P
-
Converting home video using iTunes
I have a new iPod with video 3rd generation. Everything works great with all video I purchase through iTunes (I'm using the latest version for XP). However, when I try to convert a home video file (in the correct format) to play on the iPod, only the
-
Is XI a pre-requisite for APO in Netweaver?
Hi, We are implementing XI 3.0 to replace our XML Business Partner Connections in the next few months (currently on Business Connector). Traditionally, any partner connectivity in our organisation is done by our e-Business team, so this project is b
-
Is there a way to change the speed of a keyframe zoom effect on still photos? Clip duration doesn't seem to change the zoom speed at all. Any help would be greatly appreciated