Process flow hanging in owb 11.2.0.2

Hello All,
My process flow keeps on running and never completes but in the design center I see that my maps have all completed, I checked my tables and the data has been loaded.
There is this process running in the background. I don't know what this is trying to do.
How could i solve this problem.
select /*+ FIRST_ROWS(1) */ tab.rowid, tab.msgid, tab.corrid, tab.priority, tab.delay, tab.expiration ,tab.retry_count, tab.exception_qschema, tab.exception_queue, tab.chain_no, tab.local_order_no, tab.enq_time, tab.time_manager_info, tab.state, tab.enq_tid, tab.step_no, tab.sender_name, tab.sender_address, tab.sender_protocol, tab.dequeue_msgid, tab.user_prop, tab.user_data
from "OWBSYS"."WB_RT_NOTIFY_QUEUE_TAB" tab
where q_name = :1 and corrid = :2 and (state = :3 ) for update skip locked
SELECT MIN(MSGID)
FROM WB_RT_NOTIFY_QUEUE_TAB N1
WHERE PRIORITY = (
SELECT MIN(N2.MSG_PRIORITY)
FROM AQ$WB_RT_NOTIFY_QUEUE_TAB N2
WHERE N2.CORR_ID = :B1 AND MSG_STATE = 'READY') AND N1.CORRID = :B1
BEGIN wb_rt_notification.wait( :1 , :2 ,
:3 , :4 , :5 )
; END;

Hi,
We are dealing with the same issue. Is this solved yet at your site?
I also note there are lots of records in WB_RT_NOTIFY_QUEUE_TAB. A lot of the AQ$_WB_RT_NOTIFY_QUEUE_TAB_E records are pretty old
Can I just delete them?
SQL> select count(*), Q_NAME from owbsys.WB_RT_NOTIFY_QUEUE_TAB group by Q_NAME;
COUNT(*) Q_NAME
80223 WB_RT_NOTIFY_QUEUE
751129 AQ$_WB_RT_NOTIFY_QUEUE_TAB_E
best regards, Hans

Similar Messages

  • Process Flow hangs

    I'm executing a process flow with several activities.
    After each activity I check for status and error out if the activity fails. If the activity succeeds I go on to the next activity.
    When I execute a map within the process flow, the process flow executes successfully only if the map is the last activity. The map functions to output data to a file.
    The Process Flow hangs if after the execution of the map
    a stored procedure is called. The stored procedure dynamically creates a DBLINK and updates a table.
    When I cancel the execution of the process flow I see the map has successfully outputted all
    records. But why hasn't it gotten to the stored procedure.
    Each activity on its own works fine but in combination with each other they hang the process flow.

    Mahesh,
    I am assuming that RAB stands for Runtime Audit Browser.
    The Runtime Audit Browser tells me how many records were
    rejected but not which ones and why.
    The debugger does not give adequate information in fact it does not issue a "break" where it should.
    Are there any tools OWB provides for "catching", or
    auditting data that cannot for whatever reason be extracted to a file.
    I see that they have a mechanism for capturing problems with data coming from a file into a table. I don't see
    where there is an explanation of error handling going from a table into a file.
    Thanks!
    Marion

  • Process flow hangs when mapping execution fails

    Hi,
    Has anyone faced the 'process flow hanging' problem after upgrading to OWB 9.2.0.4? Don't know why this is happening again after the upgrade. The audit browser clearly indicates one of the mappings has failed and workflow tables indicate there was a notification upon failure. The process flow runs several sub process flows each containing 5-6 mappings.
    Also, the mapping that failed (due to unique key violations on the target table) executed the post mapping stored procedure although the post mapping run condition was set to 'ON SUCCESS'. Is this the expected behaviour for the post mapping operator when there are database related failures?
    Our environment is OWB 9.2.0.4 on AIX 5.2.
    Database version is 9.2.0.5. We recently upgraded the database from 9.2.0.4 to 9.2.0.5 and OWB from 9.2.0.2.8 to 9.2.0.4. Process flows are executed using sqlplus.
    Thanks,
    Chethan

    Hi,
    I would expect you to have less issues with 9204 as there were some fixes applied. So I have not seen this before.
    To get into the mapping a little bit more, is this a row based mapping that is under the tresshold? In any case, if you specify "on success" I would expect it to only work on success... A database related error will also cause it to get an error, so this is interesting as well.
    Does the error repeat at any case if there is a failure?
    Jean-Pierre

  • Process flow hangs in state "bussy"

    Hi,
    We are encountering what seems to be a "random" problem when runing process flows. In about 1 out of 4 runs the flow "hangs" with status "busy"
    The technical specs are as follows:
    OWB 9.2.0.2.8 on WIN2K Server SP4.
    There are two runtime repositories on two different WIN2K database servers (Oracle 9.2.0.4 EE)
    The symptoms are as follows:
    - We have more than 10 process flows containing from 15 to 60 processes. The problem is not related any single process flow, and occurs on both our target servers.
    - The process flows runs OK in approximately 3 out of four runs.
    - When the process flows "hangs", one or more of the processes in the process flow also hangs in the "busy" state. The hanging process can be a mapping or an external process
    - The processes that have status "busy" have actually finished. They have a completion time set, and in the case where the process sends mail, the mail has been received. In the case of mappings I have verified that the mapping has completed, and that the session performing mapping has terminated.
    - When the problem occurs, there is always the same "lock" pattern displaying in OEM:
    Username Session IdLockMode HelMode Requ Object Name ROWID Object OwnObject T Resource ID1 Resource ID2
    OWBRT92 17TM ROW SHARNONE WB_RT_SERVICE_QUEUE_TAB OWBRT92 TABLE 61161 0
    OWBRT92 17UL EXCLUSIVNONE 1073741824 0
    OWBRT92 48TM ROW SHARNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_COMPONENTS OWBRT92 TABLE 61137 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_ACKS OWBRT92 TABLE 61141 0
    OWBRT92 67TM ROW SHARNONE WB_RT_NOTIFICATION_STREAMS OWBRT92 TABLE 61135 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_AUDIT_EXECUTIONS OWBRT92 TABLE 61199 0
    OWBRT92 67TX EXCLUSIVNONE 262151 87564
    Session 17 is the runtime service, and these two locks are present under normal operation. Session 48 is the Sqlplus session runing the execution template, and session 67 is (i think) the session that is causing the problem.
    - The advanced queue WB_RT_NOTIFY_QUEUE tab shows "Number in state ready" equal to the number of processes still in the state "busy" i the process flow.
    - When the runtime service is stoped (using the stop_service.sql) The locking sessions disappears.
    - When the service is restarted, the processes change status to "bussy recovery" There is now a RPE-01008 and a RPE-01009 message in the "errors" section for the mapping.
    - After the failed recovery, everything looks normal, except that there are now twice the number of messages in state READY on the WB_RT_NOTIFICATION_QUEUE. The only way I have found to get rid of these is to delete them from the queue table.
    Is this a known problem? We are about to go live in a few weeks, and this could be a serious show stopper if we can't rely on the daily process flows to run as expected.
    I could log a TAR on this, but I suspect support would ask for a test case, and Im going to have a hard time providing it for them in this case.

    Jean-Pierre,
    Thanks for the update. I was afraid this was going to be one of those "hard to pinpoint" issues...
    When the problems occurs the Worflow Monitor always shows the task status as "Notified".
    The "Main routine" is no longer executing. The session that was executing the mapping has disconnected, and the mapping has completed successfully. (I have verified this by checking the rows in the target tables). Also, the problem is not restricted to mappings. Sometimes it happens to "mail notifications", and in these cases the mail message is received as expected.
    It looks to me like there is some kind of synchronization problem between AQ and the controlling process (the runtime access user session) that can arise under a given condition (which I unfortunately have not been able to determine what is). As far as I can tell, the process executing the mapping completes and puts the message that it has completed on the Notify_Queue (hence the messages in stat "Ready" on the queue), but for some reason the process waiting to read the message fails to do so.
    As for a test case, I have recently sent an export of our design repository to Igor Machin. Is it possible for you to have a look at that? As I mentioned in the first post, our Process Flows are fairly complex. Some of the flows are executing 50+ mappings in parallel.

  • Error while importing process flow mdls in OWB 11.2.0.3

    Hi All,
    I am facing below error while importing process flow mdls in OWB 11.2.0.3:
      ERROR
      Informational: MDL1328: PROJECT MTH not imported since the object in MDL file
      is the same as the object in the workspace.
      Error at line 11: MDL1261: Error importing PROCESS_FLOW_MODULE MTH.MTH_PF.
      Detailed Error Message:
      MDL1409: Cannot import PROCESS_FLOW_MODULE with physical name <MTH_PF>
      because a PROCESS_FLOW_MODULE <MTH_PF> with the same physical name already
      exists.
    Can someone please let me know on how this can be resolved.
    Thanks in Advance.

    the first information warning message is ok, the 2nd ones should be gone if you use the replace mode
    OMBIMPORT FROM MDL_FILE 'pfm_mod.mdl' USE REPLACE_MODE  MATCH_BY NAMES
    let me know if that fix it

  • Process Flow hangs on wb_rt_notify_queue_tab

    Hi,
    We are encountering some problem on process flow.
    Environment: Oracle 9.2.0.5, OWB 10g, workflow 2.6.2, HP-UX
    The process flow has about 20 mappings. When it hangs, I can see the following:
    1. In Workflow, the status of the mappings are "NODIFIED"
    2. In wb_rt_notify_queue_tab, the DEQ_TIME shows null and the state is 0
    3. In wb_rt_audit_executions, the return_result shows "OK" for this mapping, and elapse shows the seconds
    it spent. and the data was loaded correctly.
    4. There are some locks showing
    SID 31 has locks on WB_RT_AUDIT_EXECUTIONS, WB_RT_NOTIFICATION_ACKS, WB_RT_NOTIFICATION_COMPONENTS, WB_RT_NOTIFICATION_STREAMS, WB_RT_NOTIFY_QUEQE_TAB, WB_RT_SERVICE_QUEQE_TAB.
    SID 25 has locks on WB_RT_SERVICE_QUEQE_TAB
    SID 97 has locks on WB_RT_NOTIFY_QUEQE_TAB, this is the SQLPLUS session invoking the Process Flow
    I saw some messages on the similar topic in this forum, but I guess that's for early version of OWB.
    Any suggestion will be appreciated
    Thanks in advance.

    I am also having same problem and my environment is
    Environment: Oracle 9.2.0.3, OWB 10g, workflow 2.6.2, sun solaris 2.8 - 64 bits. Does installing/upgrading OWF 2.6.2 to 2.6.3 solve the problem and does it have any ripple effect on the system if you upgrade the OWF from 2.6.2 to 2.6.3? Please help.....

  • Major problem - Process Flows hanging randomly - 11.2.0.1

    Hi,
    We are experiencing the following problem.
    Randomly process flows sit doing nothing.
    Have ran some days and totally fine. Process flows fine - each activity has all the necesassry outgoing activities.
    What causes this?
    If run again - fine.
    How do we resolve.
    We need to be able to kick off the process and leave it to run without having to check if it hanging al the time.
    Any help/advice would be great.
    Many Thanks

    Hi,
    I found out that wrong ordering of transitions may cause strange problems. In owb, check that the outgoing transistions of each operator are numbered sequenty (0,1,2, ...). Sometimes, some number appear twice, e.g. 0,1,1). This often happens after an existing transition was deleted.
    And make sure that the "else" transition (the one without any condition) always has the highest number.
    Regards,
    Carsten.

  • Process Flow Warning in OWB.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    1> Following Warning is displayed when Process Flow is validated in Process Editor in OWB.
    VLD-10005: The following path in the process flow is a loop and may cause the process to loop infinitely,
    START->EXT_SHELL_SCRIPT->M_STG_GRADE_OF_SERVICE->EMAIL_ERROR->UPDATE_MAP_PROCESS_ERROR->
    2> A mapping is developed in OWB with some default configuration parameters e.g. In a mapping involves Source Text File as Source and Staging Table as Target.
    Readsize and Bindsize config parameters are set to 5000 respectively. I included the same mapping in process flow as mapping. The above mentioned Config Parameters are modified to 5242880. I committed the changes & synchornized in the process flow editor. I was expecting the modified config parameter will be displayed in the process flow editor. However I found that it still displays old config parameters and not modified config parameters. Is this expected or Did i miss some steps ?
    Can someone please let me know more on these issues?
    Regards,
    Vidyanand

    Re your first question, you are probably hitting a bug (3035080) that makes OWB generate false warnings. Please ignore the warnings and try to deploy and run the process flow.
    As for your second question - I cannot reproduce this on 9.2.0.2.8. The configuration properties are updated corectly in the SQLLOADER map and I get the same values in the process flow. By the way, why are you not using external tables instead of the SQLLoader maps?
    Regards:
    Igor

  • Can we run process-flow from outside OWB

    Hi All,
    I am scheduling my process-flows daily in night. If any process-flow fails, they will rectify the problems and they want to run the process flow manually, outside own, like SQL.
    Regards,
    Kumar.

    Hi Detlef,
    I tried to execute the following, I dint get any response and the sqlplus closed automatically. When I saw the execution details no executing had taken palce. And even I tried to execute the command by commenting the exit in the script.
    sqlplus RA_OWB1/RA_OWB1@RADEV1 @C:\OraHome_1\owb\rtp\sql\sqlplus_exec_template.sql RA_OWB1 PlatformSchema ProcessFlow SAI_PF "," ","
    Is there any external (oracle function), so that I can pass any number of Process-flows as parameters for execution. Client will create a form with a list of check boxes and execute button. when the user selects the check boxes according to his rerquirements and click execute. then all the process-flows should run.
    Regards,
    Kumar.

  • Process Flow Restart Logic OWB 11gr2

    Hi,
    I know OWB 11gr2 doesn't provide PF restart logic and one has to come up with his/er PFRL deisgn and implementation logic. Just wondering if any one has done it sucessfully and can refer me to a proper documentation or design.
    Thanks

    Read about error handling in Oracle Workflow:
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362426.htm
    You can use ideas of Workflow default error processing for designing custom system for notifcation administrator about fails in OWB processflow and to provide tools to restart failed activities (it is impossible dirrectly use default Workflow features becuase - restart is possible at whole process where error occured and OWB mapping errors is not produce error events in Workflow).
    I guess you need design (I am not a big Workflow expert so maybe better to follow Workflow develoepr guide or ask question at {forum:id=72} forum):
    1) procedure for generating "OWB mapping error" event (this procedure should be run periodically, say every 10 minutes)
    2) Workflow processflow (and maybe addirional procedures) for processing "OWB mapping error" event
    3) suscribe designed processflow to "OWB mapping error" event
    Regards,
    Oleg

  • (urgent)how to run the sqlldr script in owb process flow?

    dear all:
    In my oracle warehouse ,i have to load much *.dat file
    into database with sqlldr in owb process flow. In owb process flow, I use the external process to run the sqlldr file with following configuration:
    1:======external process==========
    command : /app/ftpfile/sqlldr2.sh
    parameter list:
    success_threshold:0
    script:
    ================================
    2:create a file location in FILE LOCATION node:
    =============
    ODS_LOCAL_LOC
    =============
    3: in the runtime repository i register the location
    ============
    user name: oracle (for the sqlldr should run in oracle user)
    password : oracle
    host name: localhost
    root path: /app/ftpfile/
    ============
    4:configure the process flow
    ============
    path settings
    working locations:ods_local_loc
    ============
    after deploy them success in runtime repository,
    i run it ,it show me error following:
    ==========
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12545: Connect failed because target host or object does not exist
    ===========
    please help me!
    with best regard!

    Hello,
    our developers were getting this error code just the other day. They are using "sqlplus_exec_template" script to initiate these things. In our case, I had to do two thing:
    1) Modify their "initiator" script (the one that connects to runtime access user, and then calls "template") - it has to use tns connectivity "user/passwd@service_name"
    2) Create TNS entry (server side) for the "service_name" above.
    Now these SQL*LOADER mappings run successfully.
    Alex.

  • WFT to OWB Process Flow migration

    We have a workflow process defined with Oracle Workflow Builder 2.6. We keep workflow in a wft file and deploy it to Oracle 9 and 10 databases with wfload utility.
    The process basically calls some OWB mappings and stored procedures.
    Now we want to migrate to 11G.
    Is there any way to upgrade it to Process Flow in Oracle Warehouse Builder ?
    Do we need a seprate license to run the Process Flow in Oracle 11G using Worklfow Engine ?
    Thanks

    Oleg2 wrote:
    No, you don't need sepparate license for Oracle Workflow on 11g database.
    Workflow already installed with 11g - look at ORACLE_HOME\owb\wf
    OK, thanks, I was able to install workflow from the folder above, I was not sure about licensing.
    Is there any way to upgrade it to Process Flow in Oracle Warehouse Builder ?It depends on how will you migrate to 11g database, including workflow/OWB migration.
    What OWB release did you use for mapping design ?
    I already migrated the mappings from OWB 2.6 to newest OWB using metadata export/import.
    But the workflow process was maintained in Oracle Workflow Builder 2.6, is there any automated migration from Workflow to Process Flow in new OWB.
    and what whas the reason for avoiding deployment processflow via OWB?
    I do not know the reason, I was not involved in the project from the beginning. Probably because it was easy to call wfload from bat/sh script in installation script.
    Regards,
    Thanks

  • Start OWB Process Flow Schedule Job in Workflow Manager

    I am trying to get the Oracle Workflow Schedule to execute my Oracle Warehouse Builder (OWB) Process Flow. Please note that execute Process Flow from the OWB deployment manager works fine. I did the following but nothing being executed:
    Info:
    OWB: 10g
    Oracle DB: 10g
    Oracle Workflow: 2.6.3
    OracelAS: NONE
    1. From the Oracle Workflow Manager browser, click the Background Engines->Submit New
    2. Insert the following parameter:
    Work Item Type: LD_STG
    Run Date and Time: 10/18/2004 17:40:00
    Run Every: 0 days, 00 hours, 01 minutes, 00 seconds
    3. Click ok and system showed "Successfully submitted Background Engine with job number 107"
    However, after the specificied schedule time, nothing happened. No error shown in the Work Item.
    Any help are greatly appreciated. Thanks.

    This is a Oracle Workflow client problem. Can you post this to the workflow forum (Workflow
    Regards:
    Igor

  • Error While Importing Process Flow in OWB Repository.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
    Warning at line 23: MDL1312: Referenced logical location with name <PF_STG_INC_LOC> and UOID <F3940F1D5EB84985E0340003BA0AF737> not found for PROCESSMODULE <SALES_INC>. Logical location not set for this module.
    Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
    Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
    Informational: MDL1134: COMMIT issued at end of import data file.

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

  • Error While Improting Process Flow in OWB Repository.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
    Warning at line 23: MDL1312: Referenced logical location with name &lt;PF_STG_INC_LOC&gt; and UOID &lt;F3940F1D5EB84985E0340003BA0AF737&gt; not found for PROCESSMODULE &lt;SALES_INC&gt;. Logical location not set for this module.
    Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
    Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
    Informational: MDL1134: COMMIT issued at end of import data file.

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

Maybe you are looking for

  • Ask for security question but they send the email to my other second account ! Not the same email which i logon it

    I had a weird problem i have two id apple account one of them i forget the security question i try to ask for reset but when i login to first email and ask for reset they send the email to other email which is in other account !! I need it to send to

  • How can I add a new local calendar on my Mac?

    I use Calendar on all my devices so all my calendars are on iCloud. Now I have to add a new one only on my iMac (not on iCloud) and I don't know how to do. Can anyone help my?

  • Template Fonts View Tiny but Preview OK

    I am redesigning the site for my school & am working w/ pre-supplied html templates. Something is causing the fonts to be viewed as extremely tiny & unreadable. Images appear in their correct size. The template previews fine. The correct css is prope

  • User permission issue in connecting to Oracle using java in Cent OS

    Hi , I am facing a peculiar issue and since I am new to Cent OS, I hope somebody can help me. I am using Cent OS 4.2 and I installed Oracle client 10.2 in cent os 4.2. I am having a java application which connects to Oracle server in another Linux sy

  • Using two HArd disks

    Hi Folks, my friend has an Ipod and uses Itunes. He has, an external hardisk, and his Lappy. he uses the external, for backup. where ALL his Itunes stuff is. So he converted some cds into itunes format, via itunes, and it stuffed them into My Music <