Error in Process flow running in SQL owb_run_own.wb_rt_api_exec.run_task
Hi all
We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
When i try to run through Warehouse Builder Process flow ran Successfully
When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
Can any one help please
Thanks in Advance
Edited by: user1849 on May 5, 2009 9:56 AM
Hi all
We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
When i try to run through Warehouse Builder Process flow ran Successfully
When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
Can any one help please
Thanks in Advance
Edited by: user1849 on May 5, 2009 9:56 AM
Similar Messages
-
Process flow run success but underline mapping sql still running
We have mapping A and B in process flow. We configured Enumerated Condition (success) in mapping A to kick off mapping B after A is success. But the underline SQL in A took long time to finish therefore mapping B starts before data loading is finished in A. We need to finish mapping A loading data first (not submit the job), What could be the best approach for this condition.
Thanks,
frankHere is the actual scenario. In my process flow I have mapping A and B, both loading data from source to target. I put Enumerated Condition (success) in mapping A so that B start only if A is done. When the job is in completed status in control center, I open job details I notice the mapping A is still running even B is finished. I guess my questions:
1. how to run mappings in order?
2. how do we really know the process flow job is completed?
Thanks for help! -
Error during "Process Flow" deployment
Hello everyone,
I am having trouble deploying my first "Process Flow" object. I am using OWB 9.2 and WF 2.6.2 on Windows XP.
Here is the error I am getting:
RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link DSRD_QA.US.ORACLE.COM@WB_LK_WF_LOADS. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
- ORA-04052: error occurred when looking up remote object OWBRR.WB_RTI_WORKFLOW_UTIL@DSRD_QA.US.ORACLE.COM@WB_LK_WF_LOADS
ORA-12545: Connect failed because target host or object does not exist
Here is what I have done so far based on what read in different posts on this forum (nothing seems to fix my problem):
o connect to SYS in the TARGET database (where OWF
schema was installed) and ran the following:
GRANT execute any procedure to owf_mgr
o I used "localhost" when I registered the WF object.
Then, as per one post, I changed it to "DNS name".
Did not help at all.
o Then, I tried to test the DB link (mentioned in the
error Msg above) and it DID NOT work. Then, as per
another post, I removed the part of host name that
appeared after the ".", i.e, DB.someplace.com to
DB. Then I ran a query using this DBLink and it worked
OK. Then I tried to deploy the WF object, it failed
with same error as above.
I am hoping someone will help me out on this issue - I have seen several posts with similar error messages and have tried almost all the solutions presented in there - nothing worked for me so far. Here is DB link definition:
ORIGINAL:
create public database link DSRD_QA.US.ORACLE.COM@WB_LK_WF_LOADS
connect to OWBRR identified by tiger using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-4F4322.CENTENNIALCOLLEGE.CA)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DSRD_QA)))'
Changed:
create public database link DSRD_QA.US.ORACLE.COM@WB_LK_WF_LOADS
connect to OWBRR identified by tiger using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-4F4322)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DSRD_QA)))'
NOTE: HOST was chanegd to just DNS name (part after the "." was removed). Changed DBLink works fine - original one does not.
Thank you all in advance for your time and reponse!
Regards,
AmerHello Jean-Pierre,
I have tried almost what I could but I am still getting following errors when I try to deploy "process flow":
RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG2. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
- ORA-04052: error occurred when looking up remote object [email protected]@WB_LK_WF_PKG2
ORA-12545: Connect failed because target host or object does not exist
Most recent thing I tried was to run "catrpc.sql" script on the TARGET database using SYS.
I know you must be a very busy person but I would appreciate if you could try this in your env. Both my SOURCE and TARGET databases are local and I have installed all OWB and OWF repositories in the TARGET database. I have successfully deployed and executed OWB Mappings. Now I am stuck with OWF Process Flow deployment. This would perhaps be the last thing I need to do in order to be able to schedule ETL jobs through OWF.
All your help and time is highly appreciated.
Regards,
Amer -
Conversion error in process flow
I've build a process flow with the following construction
1. Function call (DB) which returns a date via a OUT parameter (Checked)
2. Bound the OUT parameter to a Process-flow parameter of type date
3. Use the proces-flow parameter to bind a input parameter in a following mapping.
All is well in validation, generation and deployment, but upon running I stumble onto a conversion error. Somehow the process-flow parameter is represented in a format (2006-09-21 00:00:00.000000000 +02:00) which is not accepted in the mapping (tries to convert it using 'yyyy-mm-dd'). I cannot find the conversion in the coding.
I've tried to see if either in the mapping or in the process-flow I'm able to input the format of the date, but was not successful.
Anyone any ideaChris,
Looks like a request has not got deleted properly from the table :
Options that you could look at :
1. Delete all the data from the ODS and load again ( if that is an option )
2. There are some entries you need to delete from the RSODSACTREQ table- but for this the suggestion would be to raise an OSS note for SAP to look into the same - we had a similar issue and raised an OSS note for the same and then got some notes from sap.
Also please mention your BI version and patch level.
Arun -
What code do process flows run?
Hi there
Running a process flow but seems to be hanging - unfortunately can't use the repository browser to get an execution report as it is slow - don't know why?
Anyway when run mappings I know it is running packages on the database.
With process flows I understand it is using oracle workflow but I'm not very familiar with this - do process flows have some code on the database you can look at and run hands on in the same way you could run a mapping/transformation.
This would help identify the error until such time as the repository browser issue is fixed. All i can see is the arrow in the control center and when right-click says error count 1.
Any ideas?
Many ThanksHi,
for monitoring process flows you can use Workflow Monitor.
Regards,
Oleg -
Error registering Process Flow Location
Hi
I've installed OWB 9.0.4 and successfully registered
Process Flow Location.
Then i've added russian lang to Oracle Workflow Repository
After that when i try to register Process Flow Location
i get error: RTC-5327 Schema OWF_MGR does not contain an
Oracle Workflow Repository.
But i still able to deploy Process Flow Packages
using earlier created Process Flow Location.
ThanksVasily,
This sounds like the known bug 2836447: OWB REPORTS OWF REPOS NOT INSTALLED IF MULTIPLE LANGUAGES ENABLED. The bug was fixed in 9.2 and also should be in the next 9.0.4 patch (9.0.4.11).
The workaround for now is to run the following in Workflow Schema (owf_mgr):
update
WF_RESOURCES
set
NAME = NAME || '_' || LANGUAGE
where
TYPE = 'WFTKN' and
NAME = 'WF_VERSION' and
LANGUAGE <> 'US';
commit;
The following removes the workaround and restores the WF_RESOURCES table to their original state. This should be applied when the fixed OWB client has been installed.
update
WF_RESOURCES
set
NAME = 'WF_VERSION'
where
TYPE = 'WFTKN' and
NAME LIKE 'WF_VERSION_%' and
LANGUAGE <> 'US';
commit;
Nikolai -
Function to call Process-flows/mapping from SQL
Hi All,
Can any one of you send me the function to call process-flows/mappings (eg: I have 10 mapping/Process-flows). It is an urgent requirement pending in my final testing.
Plz help me in this regard.
RegardsHi
All information that you need, you can find in $ORACLE_HOME/owb/rtp/sql/. BAsically all executions in owb is called through wb_rt_api_exec package.
for example:
declare
variable exec_return_code number;
procesflow varchar2(255);
plsqlname varchar2(255);
begin
-- Initialize Return Code
exec_return_code := owbrt_sys.wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
procesflow:='WF_X1';
plsqlname:='MP_X1'
exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('OWF_LCTN','PROCESS',procesflow, ' ' );
if exec_return_code = 1 then
exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('STAGE_LCTN','PLSQL',plsqlname, ' ' );
end if;
end;
Regards -
I encountered the following error while deploying
RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow
Database Link STG1@WB_LK_LOAD_STG. Please check that "EXECUTE ANY PROCEDURE" privilege
is set and that the OWB Runtime is available.
- ORA-06550: line 1, column 7:
PLS-00201: identifier 'WB_RTI_WORKFLOW_UTIL.INITIALIZE@STG1@WB_LK_LOAD_STG' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
I set the "EXECUTE ANY PROCEDURE privilege to runtime repository schema as well as
runtime repository user. I still get the same error.
Please find below the steps I followed
1) Process Flows -> Locations
Created Process flow location with ORacle Work Flow and 2.6.2
2) Process Flows
Created Process Flow module
Created Process Flow Package
Created Process
validated sucessfully
generated XML code successfully
3) Deployment manager
Register the Process flow location in owf_mgr/Owf_mgr successfully
pre-deployment is successful
when deploying I encountered the above error.
I want to execute the process flow from deployment manager itself.
Please help me in solving this problem. URGENT !!
Thanks in advance
ShreeHi Jean-Pierre,
Thanks for your help,
Grant WHAT to OWF_MGR user?
I couldnt find the package named 'WB_RTI_WORKFLOW_UTIL'
in OWF_MGR but I cound find 'WB_RT_WORKFLOW_UTIL' package in it.
Is this some problem in my OWF_MGR schema?
Any help will be greatly appreciated,
Thanks,
Shree -
Hi,
I can't get rid of the following error when running my mappings through a process flow:
"connection reset by peer" .... result is that the mapping ends.
It happens when 7 mappings run parallel (forked in OWB).
This error particulary happens during the first 2 to 3 times after deploying a changed process flow.
We use OWB 9.2.4 on database 9i rel2 database.
Anyone familiar with this message? Any workarounds?
The message is without any ORA or PF number.
Thanks in advance,
CeesI have found this problem myself,
the only workaround I found is to not run more that 5 mappings in parallel.
I speculate that this is caused by the amount off cursors that are opened to run everything in parallel,
If so, you might try to increase the parallel settings of your database.
cheers
Robbert -
hello, i'm trying to deploy process flows, getting this error. privileges on my workflow manager are set correctly but it looks like something is not ok with connection to database. workflow server looks ok and i can manage it through oracle workflow manager. everything else in owb works ok, i can deploy other objects with no problems.
this is only problem on my client computer, deployment works fine from server ?
any idea ?
already checked tnsnames, replaced host with ip, tnsping ok...
server: win2000
client win XP pro
oracle 9i: 9.2.0.4.0
owb: 9.2.0.2.8
owf: 2.6.2
ERROR:
RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link DW.US.ORACLE.COM@WB_LK_LOAD_SKL. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
- ORA-04052: error occurred when looking up remote object
[email protected]@WB_LK_LOAD_SKL
ORA-12545: Connect failed because target host or object does not existHi,
Do you happen to use localhost to refer to the Oracle Workflow engine? You should use a DNS entry to refer to the Workflow engine. The way this works: when Warehouse Builder deploys to Workflow, it creates a database link back, using a DNS lookup to the machine. If you specify a non-DNS entry, then whatever comes back will be different from what you specified as a host name. This causes the problem. Please re-register the Oracle Workflow engine using a DNS name entry.
Thanks,
Mark. -
Error while process flow execution
Hi ,
I am getting the below error while runing a process flow.
I have owb11gr2
PKG_RUN_MAPPING_WITH_LOG:P_RUN_OWB_MAPPING_1
Error
ORA-01403: no data found
ORA-06512: at "OWBSYS.WB_RT_API_EXEC", line 149
ORA-01403: no data found
ORA-06512: at "OWBSYS.WB_RT_API_EXEC", line 245
ORA-06512: at "OWBSYS.WB_RT_API_EXEC", line 273
ORA-06512: at "ETL_CT.ETL_LOG", line 317
ORA-06512: at line 1
below query not of much help
select A.EXECUTION_NAME ,A.TASK_NAME ,A.TASK_TYPE ,A.OBJECT_NAME ,a.object_type ,A.CREATED_ON ,A.CREATED_BY ,A.UPDATED_ON ,A.UPDATED_BY
from ALL_RT_AUDIT_EXECUTIONS a
where trunc(a.created_on) = trunc(sysdate)
order by A.CREATED_ON desc
any suggestion ?
Edited by: WIP on Jun 6, 2012 3:20 PMDid you deploy the mapping via OWB? Did you deploy all locations needed? If going the headless route where you can manually deploy the PLSQL, there is a bug fix for something in this area - if memory serves me well.
Cheers
David -
Triggering process flows (run it whenever source changes)
Hello everyone,
I have created several process flows which includes many mappings. Now i want to run the process flow automatically whenever there is new data inserted in the source tables of those mappings. Is there a way to do this in OWB. i am using OWB R2 and Oracle 10g. Any help would be greatly appreciated.
Thank YouHi,
one way is to create (outside OWB) an update/insert/delete-trigger on the table and start the mapping in a begin-end-block of the trigger after an insert or update.
Look at the oracle library for triggers and you get it.
CREATE OR REPLACE TRIGGER test_trigger
AFTER INSERT OR UPDATE OR DELETE
ON table_test
DECLARE
result_num number;
BEGIN
<call mapping or process flow here>
result_num :=WB_RT_API_EXEC.RUN_TASK(p_location_name
, p_task_type
, p_task_name
, p_custom_params
, p_system_params
, p_oem_friendly
, p_background);
<some code to analyze the result code>
<exception handler>
END;
Regards,
Detlef -
Error validating process flow VLD-10010 after upgrade from 9i to 11gR2
Upgraded OWB from 9i to 11g, and after upgrade all the process flows where throwing the below error while validating
VLD-10010: DIM_COUNTRY_UI's bound object DIM_COUNTRY_UI of type PLSQL Map has been deleted.
After synchronizing the mapping to itself, this error goes off, but synchroinzing in GUI for more than 300 mapping is huge task.
Anyway to sychronizing in bulk in OMBPlus?
Thank for help
Regrds
Samuel.Hi
Plz, check /etc/hosts
is IP and computer name valid? -
Getting Internal Error in Process flow
Hi,
I'm getting an Internal Error : class not found error in the process flow.
What i'm trying to do is, i'm changing one of the input values of the mapping in the process flow. When i try to change the value of the parameter in the Activity View, i get this error:
"Internal Error: class not found. Please contact Oracle Support with the stack trace and details on how to reproduce it."
For the other mappings inside a process flow i'm able to change the values in the Activity View.
I also deleted the mapping and re imported the same.But still i'm getting the same error.
Can any one please help me in this regard?
Regards,
Abhinav.This should resolve this issue
Fix
Oracle policy recommends taking away the execute privilege on UTL_SMTP from PUBLIC. This takes away the privileges from SYSMAN as well. SYSMAN needs execute on UTL_SMTP and UTL_TCP to send notifications. Workaround:
1. Log into the repository database as sys:
grant execute on sys.utl_smtp to sysman
grant execute on sys.utl_tcp to sysman
2. alter package sysman.emd_notification compile; -
Error SP2-0310 while running @utlsampl.sql
After installing Oracle on Win 98 I
1.Login sql+ as system and manager
2.run @utlsampl.sql
3.the error got is SP2-0310 unable to open file utlsampl.sql
Is there a place to look up SP2 errors
Any thoughts.
Thanks in advanceThe file is located in $ORACLE_HOME\rdbms\admin. If you do not
specify a fully qualified path then SQL*Plus will look in its
default directory. Try @%ORACLE_HOME%\rdbms\admin\utlsampl.sql
Maybe you are looking for
-
Migratiion from oracle 7.3.4 to 8i
I am working with a 7.3.4 database. I have existing reports made with oracle report 2.5. The reports are published using oracle report server and r25cgi32 (PDF files). The database will migrate to 8i. Can i still use report 2.5 and report server 2.5?
-
Leopard upgrade = no wireless networking
I upgraded my Mac Mini (1.83 GHz Core 2 Duo) to Leopard the other day. Took it to 10.5.2 right after the upgrade. Everything worked flawlessly for about 2 days. Then the AirPort networking started dropping it's connection. I have a Wireless Router se
-
Settings of Mail Host and Mail Port in transaction: SCOT for the node: SMTP
Hi, Could anyone please explain me the significance of Mail Host and Mail Port for the SMTP node in transaction: SCOT. It says Mail Server to which outbound mails can be passed. Can i specify my GMAIL ID in the field Mail Host and left blank the Mail
-
Creating higher quality dvd files
So here is my scenario : I am currently working on a project where the finished output is going to be DVD Video_TS folders. However, I am not going to be burning to a disc but taking the files to a flash drive to be able to be played off of the flash
-
Shared iTunes, Separate Play Lists, Separate iCloud
My iTunes is on our family PC. I own a MacBook Air and an iPod Touch. My daughter has an iPod Touch. We want separate iCloud, but shared iTunes accounts. How do we do this? Right now we share an Apple ID.