Process Flow Execution via PL-SQL
Hi Experts,
I am trying to execute the Process Flow, however i am unable to execute it via pl-sql method. I followed the method as described in the below link:
http://docs.oracle.com/cd/B31080_01/doc/owb.102/b28225/api_4sqlforjobs.htm#BABBHEHI
Example:
sqlplus scott/tiger@orcl @sqlplus_exec_template OWB_REPO_OWNER.OWB_REPO OWF_MGR PROCESSFLOW PF1 "," ","
I get below error message.
SP2-0310: unable to open file "sqlplus_exec_template.sql"
Details:
OWB_OWNER: OWB_REPO_OWNER
OWB_USER: OWB_PROD
OWB_WORKSPACE: OWB_REPO
OWF_MGR is the workflow manager.
PF1 is the Process Flow
Please tell me where am i going wrong.
Regards,+
Ravi R+
Thanx Sutirtha
I found the other way round
BEGIN+
owbsys.wb_workspace_management.set_workspace('OWB_REPO','OWB_REPO_OWNER');+
DBMS_OUTPUT.PUT_LINE('Result: ' || TO_CHAR(owbsys.wb_rt_api_exec.run_task('PF_MOD_LOCATION1','PROCESS','PF1', null, null, 1)));+
END;+
where
OWB_REPO is the workspace
OWB_REPO_OWNER is the OWB Owner.
PF1 is the name of my process flow
Similar Messages
-
OWB Process Flow Execution in Workflow
Hi!
I hope somebody can help me with this one... I have a process flow designed to load data from a flat file to a db staging table then do some transformation on the data and load the data to the data warehouse. I am using OWB 9.2.0.2.8, 9i DB (9.2.0.5) and OWF 2.6.2. I have successfully validated and deployed the process flow but during execution, the process failed on the mapping that loads data from the flat file to the staging table. The message log of the deployment manager reports: /u01/oracle/product/owb/temp/STAGING_MAP.ctl (No such file or directory). Do I have to set the source location for the flat file again? You see we have already executed this mapping alone and it worked fine, using the source location in the server as defined in the mapping, which is /u01/files/.
Thank you.
Shielahi,
well,jus check whether u created locations and connecter and check u deployed every thing and try once again.
naren -
How to specify the Process Flow Module with SQLPLUS_EXEC_TEMPLATE.SQL ?
Hi, we have a couple of process flow modules that have PF Packages and Process Flows with the same name.
E.g
PFMOD1 (Module)
FILELOAD (Package)
PF1 (Pf)
PFMOD2 (Module)
FILELOAD (Package)
PF1 (Pf)
Normally we can specify "FILELOAD/PF1" as a paramater to the procedure SQLPLUS_EXEC_TEMPLATE.SQL in order to initiate the running of an OWB process flow but how can the system distinguish between modules ?
Anyone done this ?
Thanks
PaulIf you deployed the packages to the same location then the second deployment replaced the result of the first one (actually a new version of the process flow was created). You can execute only the latest version...
Regards,
Robert -
RPE-01008 & RPE-01009 during Process flows execution
Hi,
I run a daily process to refresh my warehouse. This process is made up of a fairly large process flow package that calls up to 40 processes. I often get the RPE-01008 & RPE-01009 errors. Like I was advised previously, I checked the <OWB_HOME>log directory and got the following extract:
22:48:03 [66718] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
22:48:03 [66718] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.PLSQL'
22:48:03 [6F1474] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
22:48:03 [6F1474] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.PLSQL'
22:48:03 [66718] PLSQL callspec: declare l_env wb_rt_mapaudit.wb_rt_name_values;function bool_to_char (val boolean) return varchar2 is begin if (val is null) then return null; else if (val) then return 'true'; else return 'false'; end if; end if; end; begin l_env(1).param_name := 'AUDIT_ID'; l_env(1).param_value := 711240; l_env(2).param_name := 'OPERATING_MODE'; l_env(2).param_value := '3'; l_env(3).param_name := 'MAX_NO_OF_ERRORS'; l_env(3).param_value := '50'; l_env(4).param_name := 'COMMIT_FREQUENCY'; l_env(4).param_value := '1000'; l_env(5).param_name := 'AUDIT_LEVEL'; l_env(5).param_value := '2'; l_env(6).param_name := 'BULK_SIZE'; l_env(6).param_value := '50'; ? := MAP_BILL_CLIENT_LINK.main(p_env=>l_env);end;
22:48:04 [6F1474] PLSQL callspec: declare l_env wb_rt_mapaudit.wb_rt_name_values;function bool_to_char (val boolean) return varchar2 is begin if (val is null) then return null; else if (val) then return 'true'; else return 'false'; end if; end if; end; begin l_env(1).param_name := 'AUDIT_ID'; l_env(1).param_value := 711248; l_env(2).param_name := 'OPERATING_MODE'; l_env(2).param_value := '3'; l_env(3).param_name := 'MAX_NO_OF_ERRORS'; l_env(3).param_value := '50'; l_env(4).param_name := 'COMMIT_FREQUENCY'; l_env(4).param_value := '1000'; l_env(5).param_name := 'AUDIT_LEVEL'; l_env(5).param_value := '2'; l_env(6).param_name := 'BULK_SIZE'; l_env(6).param_value := '50'; ? := MAP_FLAG_SUBTOTALS.main(p_env=>l_env);end;
23:15:03 [5DD521] java.lang.OutOfMemoryError
<<no stack trace available>>
23:15:03 [5DD521] report_execution_result auditId=710262
23:15:04 [5DD521] java.lang.OutOfMemoryError
<<no stack trace available>>
23:15:05 [5DD521] oracle.wh.runtime.platform.service.controller.RecoveryInProgress: RPE-01008: Recovery of this request is in progress.
at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.initialize(AdapterContextImpl.java:974)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:770)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:76)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:484)
23:15:06 [5DD521] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
23:15:06 [5DD521] oracle.wh.runtime.platform.adapter.rtp.AbortedDueToSystemFailure: RPE-01009: Completion of this task could not be completed due to an earlier system failure.
at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:22)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:63)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:76)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:484)
23:15:07 [237368] AuditId=710262: Request completed
23:15:10 [237368] AuditId=711260: Processing execute request
23:15:11 [3508DA] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
23:15:11 [3508DA] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.PLSQLProcedure'
I see it is an out of memory error. Please how do you suggest we handle this error?
I will really appreciate as prompt answer as it is impacting on timelines.
Thank you.
Warmest Regards,
Ademola Rotimi,
EDW, MTN Nigeria.I see the out of memory error which suggests that the runtime service is running out of memory. You can try to increase the memory allocated to the RTS.
To stop/start the runtime services manually, please execute stop_service.sql or start_service.sql from <OWB HOME>\owb\rtp\sql directory. You must run this from the runtime repository DB user. To check the status of the runtime service, please use the service_doctor.sql script in the same directory.
To increase the runtime memory, first stop the service by running stop_service.sql from the runtime repository schema, then editing the file <OWB HOME>\owb\bin\win32\run_service.bat (for Windows systems) or <OWB HOME>/owb/bin\win32/run_service.sh for unix systems. In this file, please change the parameters at the bottom. Instead of:
${JAVAEXE} -Xms64M -Xmx256
put
${JAVAEXE} -Xms256M -Xmx1024
or as much as the platform memory allows.
Regards:
Igor -
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 -
Process Flow Execution of Mapping results in ORA-01403: no data found
Hi,
When the Mapping is run standalone, it runs fine, but when run through a Process Flow, it generates ORA-01403 on a FILTER within the Mapping.
What should be the debug steps. The RTE_ROWKEY is mentioned as 0 and does not help.
OWB Version is 9.2.0.2.8
- JojoSo, when I submit the form, the Apex error I see is:
ORA-01403: no data found
Error Unable to process row of table fRQ (the debug is also posted in mail earlier)
Thanks
Edited by: skomar on Jan 29, 2011 5:39 PM -
OWB11gR2: Mapping execution in a process flow not visible in OWB Browser
When a mapping is executed inside a process flow, execution details are not visible in OWB Repository Browser (Control Center reports) - rows processed, errors etc. Mapping row is missing in a log, like it never happened (but it did).
This auditing information is very important for monitoring reasons (to our customers also) and I just don't get it how this functionality is lost with this version. Another serious bug?Hi David,
I was rather tired and frustrated last evening, so today I noticed some things I didn't yesterday. Your reply gave me a new motivation.
The conclusion is - a mapping execution in a process flow is logged, but the way activities are displayed in OWB Browser are now different than in previous versions. If I click on 'Execution Job Report' on a process flow, I see all the activities listed except mappings (transformations, assign, file exists, subprocess etc.). If I want to see mapping execution row, I must click on a plus (expand) sign.
This kind of behavior will make processes with a complex hierarchy (usually we have more than 5 levels of subprocesses) rather vast to monitor. In 10gR2, a drilling down was accomplished by opening a new browser tab (Execution Job Report link) for each subprocess/mapping activity. Now it shall remain on one huge screen (list) that keeps expanding.
But, if that is the new feature, we shall live with that. If our customers won't like it, they will have to get used to it.
Thank you for your reply! -
Process flow execute "complete" in Runtime Audit Browser but it hangs
I create a process flow that contain 4 sub-process flow, each sub-process flow contains several mapping. Each mapping in the process flow will be executed one by one if previous mapping execute successfully. If any error or warning, it will be ended with "End_Error" or "End_Warning". And I deploy the process flow to the workflow server successfully.
Sometimes the process will hang in some certain mapping when execute the process flow. After long time waiting, the status of process flow execution in Audit Browser will be "Complete", but in fact, the sub-porcess ended with that mapping and the next mappings will not be execute. This can be monitored in the Audit browser, as if the whole process "break" at that mapping.
In workflow monitor, I found the workflow has not complete yet. The status of that mapping node is "Notified", not "complete". So I have to abort the workflow in the monitor.
Sometimes when I try again it will be ok. If I deploy the process to another instance that in dw instance, it will also be ok. The dw instance use owb recommend parameters when we install db instance. All the mapping use the default parameters except "Default operation mode", here we use "row based".
Can somebody give me some hint?
Thanks.
OWB 10g rel 1, db: 10g rel2, workflow: 2.6.4Hi Naidu
Yes you are absolutely right. When you press the cancel button in the GUI, the runtime repository does not get the signal that he is been asked to stop and abort. The GUI cancels himself but the background oracle process is still on !!!. The only way to do is to kill the oracle session. Another way I tried to tackle is
go to the directiry OWB/10.1/owb/rtp/sql and run the file @list_request.sql in sqlplus. Note that you have to login as runtime repositiry owner. After you get the audit id, run the file abort_exec_request.sql and supply the audit id that you obtained by running list_requests.sql. Sometimes it does not work also . Hence the best method is to kill the process -
Starting Process Flows with a database trigger
Hi all,
Is it possible to start a process flow using a trigger? I am using the sqlplus_exec_template.sql at the moment.
Thanks in advance,
Regards,
SebastianHi Javor,
Thanks for your reply. I am using version 10g . After embedding the process flow execution into a procedure, I am getting the following error.
Connecting to the database userx.
ORA-20001: Task not found - Please check the Task Type, Name and Location are correct.
ORA-06512: at "OWB_REPOS.WB_RT_API_EXEC", line 704
ORA-06512: at "userx.RUN_PF", line 27
ORA-06512: at line 2
Stage 1: Decoding Parameters
| location_name=MY_WORKFLOW
| task_type=PROCESSFLOW
| task_name=MY_PROCESS_FLOW
Stage 2: Opening Task
Process exited.
Disconnecting from the database userx.
Extract of the procedure (just like the template).
-- Initialize Return Code
exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
exec_return_code := wb_rt_api_exec.run_task(LOCATION_NAME,TASK_TYPE,TASK_NAME,CUSTOM_PARAMS,SYSTEM_PARAMS,OEM_FRIENDLY,OWB_BACKGROUND);
Regards,
Sebastian -
OWB 10gR2 map returning status = Complete and Result = Null in Process Flow
Hi,
I have an OWB process flow which invokes an OWB map. There are 2 outgoing transitions attached to the OWB map. 1st transition is a conditinal one (on SUCCESS) and the 2nd one is unconditional transition.
I am monitoring the status of process flow execution in Oracle Workflow monitor. After the process flow is initiated, sometimes the OWB map within shows status = complete and result = OK in workflow monitor (in tab - status). But sometimes it shows status = Complete and Result = Null. In this situation the execution is following the unconditional transition path.
Can anyone tell me what causes the OWB map to return a Result = NULL? Also sometimes I am getting the map returning a Result = Force (with the same status = Complete).
The configuration that I am working with is as below ---
OWB client version : 10.2.0.1.31
OWB repository version : 10.2.0.1.0
Oracle Workflow Version : 2.6.4.0.0
Database version : 10g Enterprise edition release 10.2.0.1.0
Regards,
SwagataHi Manohar,
1. You need to install Oracle HTTP server in a separate Oracle home.
2.Look for the dads.conf file in the installation. Edit the file, copy the sample code and paste it below and edit the pasted part as under ----
<Location /pls/<SID>>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseConnectString <server name>:<port>:<SID >
PlsqlAuthenticationMode Basic
PlsqlDefaultPage wfa_html.home
PlsqlNLSLanguage "AMERICAN_AMERICA.WE8ISO8859P1"
</Location>
3. STOP and START OPMN (Oracle Process Manager & Notification Server)
4. Use the URL in your internet browser like --- <HTTP server URL>/pls/<SID>/wfa_html.home
5. When prompted for user id and password, give the schema user id and password where the workflow engine is installed.
Hope this helps,
Swagata -
Performance issues executing process flows after upgrading db to 10G
We have installed OWF 2.6.2, and initially our database was at 9.2. Last week we updated our database to 10g, and process flow executions are taking a lot longer, from 1 minute to 15 minutes.
Any ideas anyone what could be the cause of this performance issue?
Thanks,
YanetHi,
Oracle10g database behaves differently on the statistics of tables and indexes. So check these and check wether the mappings are updating these statistics at the right moments with respect to the ETL-proces and with the right interval.
Also, check your generated sources on how statistics are gathered (dmbs_stats.gather....). Does the index that might play a vital role in Oracle9i get new statistics, or only the table? Or only the table where doubled in amount of rows by this mapping?
You can always take matter into your own hands, by letting OWB NOT generate the source for gathering statistics, and call your own procedure in a post-mapping.
Regards,
André -
How to start/stop process flow from sql*plus?
Hi,
i know how to start a process flow via sqlplus_exec_template.sql, but i cannot find any information on how to stop (and rollback) a working flow from sql*plus. Any help would be appreciated.
Greetings
Christoph
Message was edited by:
ctrierweilerHi,
I've had a go.
How should I interpret the results of list_requests:
owner_owr@ORKDEV01> @list_requests
====================
DEPLOYMENTS
====================
Audit ID Status Name Date Owner
2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
11 10:46:37 CET 2
005
====================
DEPLOYMENT UNITS
====================
Audit ID Status Name Date Owner
2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
====================
EXECUTIONS
====================
Er zijn geen rijen geselecteerd.
owner_owr@ORKDEV01>
Whilst a process flow is executing the last query will list executions, all of which have status BUSY:
owner_owr@ORKDEV01> @list_requests
====================
DEPLOYMENTS
====================
Audit ID Status Name Date Owner
2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
11 10:46:37 CET 2
005
====================
DEPLOYMENT UNITS
====================
Audit ID Status Name Date Owner
2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
====================
EXECUTIONS
====================
Audit ID Status Name Date Owner
394512 BUSY PF_ONB01 04-MEI-06 09:11:12 OWNER_OWX
395328 BUSY ONB:FULL_PREPARE 04-MEI-06 09:11:55 OWNER_OWR
395324 BUSY PF_ONB01:ONB 04-MEI-06 09:11:55 OWNER_OWR
owner_owr@ORKDEV01>
As an aside, I will attempt to get rid of the READY deployment and deployment unit using deactive_deployment.sql
Now, if I attempt to use deactivate_execution.sql on any of the executions with status BUSY I get:
owner_owr@ORKDEV01> @deactivate_execution
Voer waarde voor 1 in: 396136
declare
FOUT in regel 1:
.ORA-20003: The object is not in a valid state for the requested operation
ORA-06512: at "OWNER_OWR.WB_RTI_EXCEPTIONS", line 94
ORA-06512: at "OWNER_OWR.WB_RTI_EXECUTION", line 774
ORA-06512: at "OWNER_OWR.WB_RT_EXECUTION", line 90
ORA-06512: at line 4
owner_owr@ORKDEV01>
So all the seems to remain is to use abort_exec_request.sql
This does the job, but the script itself hangs.
I think it has to do with the l_stream_id not being checked again after the initial IF. I think it should probably be part of the loop condition as it is again reset in the do_acks inside the loop.
Cheers & thanks,
Colin -
Flow of process order execution
Plz guide me what is the flow of process order execution ?
Dear Satish,
Please follow the link:
http://esoadocu.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=DD5DB13B668F4C7EB160EA4B675DDA07
In this Business Scenario, the manufacturer is able to control the process order execution with a single, adaptable interface to the shop floor operator. He defines rules for the account assignment and settlement of the costs incurred. Meanwhile production-relevant data can be exchanged from process control systems via different interfaces like OPC (OLE for Process Control) or PI-PCS directly. This ensures that all data from lot start to lot finish can be captured by the batch management before the product is released for final delivery.
Hope this helps you.
Regards,
Rakesh -
Process Flow log shows RPE-01003 on mapping execution
Process Flow log shows this following error mappings execution:
oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement
The Process Flow never recover from this error - owb_owner.all_rt_audit_executions shows the mapping in BUSY and I have to manually abort the process flow to recover.
Steps to Reproduce Problem:
We recently upgrade our test system from *10.2 into 11.1* and OWB client from *10.2.0.3 into 10.2.0.4*
During the upgrade DBA update OWB location setting into 11.1
After the upgrade, I re-deploy several Process Flows, but I did not re-deploy mappings that get call by the PF
When I run the PF, the mapping was stuck in 'BUSY' status (owb_owner.all_rt_audit_executions)
When i check the log it shows this following error:
oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement
Full log:
2009/04/23-12:33:10-CDT [1FA1BB6] Initializing execution for auditId= 2702852 parentAuditId= 2702837 topLevelAuditId=2702837 taskName= NIHUB_NI_ZWEB_PF:NIHUB_NIUP_ADDR_TYPES_ZWEB_MAP
2009/04/23-12:33:10-CDT [1FA1BB6] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1505)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1482)
... 5 more
java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1482)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:534)
2009/04/23-12:33:10-CDT [1FA1BB6] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
2009/04/23-12:33:10-CDT [1FA1BB6] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- null
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.createMessage(ExecutionContextImpl.java:3686)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.reportMessage(ExecutionContextImpl.java:1084)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:116)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.getPlatformConnection(AdapterContextImpl.java:83)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.createMessage(ExecutionContextImpl.java:3639)
... 5 more
2009/04/23-12:33:10-CDT [1FA1BB6] {Cause Exception with null message}
java.lang.NullPointerException
at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.getPlatformConnection(AdapterContextImpl.java:83)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.createMessage(ExecutionContextImpl.java:3639)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.reportMessage(ExecutionContextImpl.java:1084)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:116)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:534)Steps to Reproduce Problem:
We recently upgrade our test system from 10.2 into 11.1 and OWB client from 10.2.0.3 into 10.2.0.4
During the upgrade DBA update OWB location setting into 11.1
After the upgrade, I re-deploy several Process Flows, but I did not re-deploy mappings that get call by the PF
When I run the PF, the mapping was stuck in 'BUSY' status (owb_owner.all_rt_audit_executions)
When i check the log it shows this following error:
oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the >request from completing.
- no rows found for select into statementFirst deploy alll dependent object of Process Flow.
like tables ,mappings then try to execute PF. -
Skipping mapping execution in process flow
I have a process flow that calls multiple mappings. Based on some condition I want a mapping not to execute, E.g. when rerunning the process flow in case of failure. Currently I keep track of mapping execution and store the status in a control table. When a mapping has completed, it updates the status as completed. When I need to rerun, in the SQL of the tables join in the mapping, I have a where clause that returns 0 rows (mapping_completed = N) . So mapping is excuted but no rows added/updated.
The flip side of the approach is when using a complex join specially using views, the SQL takes a long time to run only to return 0 rows. So logic is okay but I want to save time by avoiding the execution of the mapping it self.
I would like to know how others are implementing this scenario.
Regards
SandeepCan you not have two different mappings one for running it first time and one which you can run on failure...
In your process flow you can have a param i.e 'F for failure and 'I' for intial and based on this condition you can decide which mapping to invoke and hte path to be followed.
Maybe you are looking for
-
i have been exporting lightroom web galleries to my iweb site without any problem. Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - and the move to the sites folder
-
Control buttons don't work on Satellite A300 with Win XP
Hi, I bought a new Toshiba A300-1MX a few days ago. I had windows XP installed. Service Pack 3. BIOS is version 1.50 (says so in the BIOS). The problem: My shiny media keys dont work. They just dont respond. Anyone with any suggestions? I have downlo
-
Several realms in a domain?
Hello everyone, sorry if this group is not correct for the subject.. <br><br> We are using WebLogic Server 8.1 for our project. We are deploying two versions of our software, with different authentication requirements; so we have written two authenti
-
I want to set the precision of a number to 2. I am trying to use the following query but it is not working in forms although it runs perfectly in SQL PLUS. The field is number type. select CAST(123456789123456789.2342342342342 as decimal(25,6)) from
-
Using formulas from Key Figure Schemas
We'er using a scheme formula from a key figure scheme to calculate a key figure for CO-PA. What will happen if we change the formula in R/3? Will we need re-import all the CO-PA data again into BW?, or will the new formula be copied into BW? BR/ Mart