Automatic refresh the alarm table in oracle bpel 10.1.3.5 on Linux

Automatic refresh the alarm table in oracle bpel 10.1.3.5 on Linux
I have bpel process with wait activity ..those are getting hang during thre processing. when I
refresh the alaram table..they are processing normally.
Is there a way to refresh the alarm table automatically for every few minutes.?
I have checked the Best Practices Guide
Tuning
com.oracle.bpel.expirationAgent.threadCount = 50
and com.oracle.bpel.threadPool.threadCount = 5
Does not help. What I am after is some way for an automatic refresh to be done say every 1hr or so.
Can this be done?? If YES, how??

Hi,
I had a similar requirement a while back, since due to poor system config we also Wait timers not expiring on time. I couldn't find a method within BPEL console to do this automatically.
I'm not a Java developer, but at the time I did use google to and put together the following. I can't tell if it is working since there is nothing written in the BPEL logs to indicate the refresh. My plan was to develop a script to detect waits not expiring, and then to run the java (below).
I used the the following blog as the basis : http://oraclebpelindepth.blogspot.com/2008/09/undeploy-bpel-with-java.html
import java.util.Properties;
import com.oracle.bpel.client.IBPELDomainHandle;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.ServerException;
import com.oracle.bpel.client.BPELDomainStatus;
import com.oracle.bpel.client.Server;
import com.oracle.bpel.client.auth.ServerAuth;
import com.oracle.bpel.client.auth.ServerAuthFactory;
public class DoRefreshAlarmTable {
     public static void main(String[] args) throws ServerException {
          //Properties with BPEL server connection information
          Properties props = new Properties();
          props.put("orabpel.platform", "ias_10g");
          props.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
          props.put("java.naming.provider.url", "opmn:ormi://omv2rrm2:6003:oc4j_soa/orabpel");
          props.put("java.naming.security.principal", "oc4jadmin");
          props.put("java.naming.security.credentials", "pass4bpel");
          props.put("dedicated.connection","true");
          //Get a locator in default domain
          Locator locator = new Locator("default","welcome1",props);
          //Get a handle to the domain
          IBPELDomainHandle iBPELDomainHandle = locator.lookupDomain();
          //Refresh the alarm table
          iBPELDomainHandle.refreshAlarmTable();
Edited by: Anit Patel on Jan 20, 2012 10:46 AM

Similar Messages

  • Refreshing the Output Table in ALV

    Hi All,
    Please let me know how to refresh the output table using refresh button in ALV.
    Thanks & Regards,
    Priya.
    Edited by: SathyaPriya Neelagaru on Jun 26, 2008 7:00 AM

    Hi,
    We can refresh the output table for ALV by below code :
    CLEAR  : g_wa_outtab.
    REFRESH: g_t_outtab.
    When we append something to output table of ALV we need to clear the workarea for that table.
    APPEND g_wa_outtab TO g_t_outtab.
    CLEAR g_wa_outtab.
    If you are using object oreinted concept we have
    CALL METHOD g_alv_grid_9001->refresh_table_display.
    In case you have to use your own PF Status - Always copy the standard GUI status
    (Program : SAPLSLVC_FULLSCREEN,
    Status : STANDARD_FULLSCREEN )
    For REFRESH - Include parameter for "USER_COMMAND" in the Function module interface.
    Inside the User command subroutine - set
    "RS_SELFIELD-REFRESH" = "X".
    It will automatically refresh the ALV and there is no requirement to call ALV again.
    Or else if u have a Refresh button on screen.
    we can have
    WHEN 'REFRESH'.
          CLEAR : g_wa_outtab.         
          REFRESH : g_t_outtab.
    Hope this helps you.
    Plz reward if useful.
    Thanks,
    Dhanashri
    Edited by: Dhanashri Pawar on Jun 26, 2008 7:08 AM
    Edited by: Dhanashri Pawar on Jun 26, 2008 7:14 AM
    Edited by: Dhanashri Pawar on Jun 26, 2008 7:15 AM

  • Run queries against system tables for oracle BPEL processes

    I want to run queries against system tables for oracle BPEL processes. It is becoming very difficult for me to us EM as it is very slow,
    and not all the time, it is sufficient for our needs.
    We are doing load testing and we want find out info like how many requests came in and how many faulted and what time is taken by each request...
    So do any of you have the query that I can use and tables that I need to go against?

    Use the BPEL hydration database table "cube_instance".
    There should be plenty of example in the forum regarding this table.

  • Lookout: How to have the Client automatically print the alarms from the server process?

    Before we switched to using servers and clients, the server computer would print all alarms.  Now we have switched to having 2 servers and many clients.  We would like to have Lookout print automatically all of the alarms as they occure or reset.
    MWarner

    Lookout client cannot automatically print the alarm to printer. I'm sorry that lookout client doesn't have this feature.
    My suggestion is to set up the printer beside the server computer and print the alarms automatically by lookout server.
    Ryan Shi
    National Instruments

  • Everytime I open a new tab, Firefox automatically refreshes the currently open ones.

    When I attempt to open a new tab, Firefox automatically refreshes the already opened and loaded websites in other tabs.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How to refresh the page/table after completion of taskflow in popup

    Hi,
    Scenario:
    In main page, having an emp-table and popup(which contains taskflow as region). In taskflow, iam modifying the emp-table data and after successfully completion of taskflow, want to refresh the emp-table present in the main page. How can we do this...?
    Note:
    (1) In Taskflow last activity is 'taskflow-return', where iam commiting all the data.After this i want to refresh the emp-table,(pop-up closes when it reaches last activity).
    (2) Tried PPR in bean code of main page, it refreshes, but before commiting.
    Something like, Refreshing the entire page either closing/hiding of popup, will help......?
    Regards.

    try with regionNavigationListener:
    public void myRegionNavigationListener(RegionNavigationEvent event) {
          String newViewId = event.getNewViewId();
          if (newViewId == null) { // null new view id indicates the taskflow has ended !
                refreshEmpTableSomehow();
    }As one alternative, take a look at my last message from this thread:
    Re: How to handle the "cancel" button and "close" icon of a popup ?
    Edited by: Cvele_new_account on Oct 5, 2012 12:19 AM

  • Error when i fetch the external table in oracle 9i ?

    External table is created.
    But, when i select the external table , it is thrwing the following error.
    I have given READ and WRITE permission to the oracle directory.
    And, i having the flat file with comma delimited data.
    SQL> create table mohan_ext (
    2 EMPNO NUMBER(5) ,
    3 JOB VARCHAR2(15),
    4 SALARY NUMBER(8,2),
    5 MGR NUMBER(5) ,
    6 HIREDATE DATE,
    7 DEPTNO NUMBER(5)
    8 )
    9 organization external
    10 (type oracle_loader
    11 default directory ext_dir
    12 access parameters (records delimited by newline
    13 fields terminated by ','
    14 missing field values are null
    15 (
    16 EMPNO NUMBER(5:5) ,
    17 JOB VARCHAR2(15:15),
    18 SALARY NUMBER(8,2:8,2),
    19 MGR NUMBER(5:5) ,
    20 HIREDATE DATE,
    21 DEPTNO NUMBER(5:5)
    22 )
    23 )
    24 LOCATION('flat.txt'));
    Table created.
    SQL> select * from mohan_ext;
    select * from mohan_ext
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "comma, char, date, defaultif,
    decimal, double, float, integer, (, nullif, oracle_date, oracle_number, position, raw, recnum, ),
    unsigned, varrawc, varchar, varraw, varcharc, zoned"
    KUP-01008: the bad identifier was: NUMBER
    KUP-01007: at line 5 column 11
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    SQL>

    You may need to scrub some of the data prior to using it as an external table. For instance, ensure that you do not have any extra commas lingering around somewhere within the data as this could cause mapping issues with the data. I've used this process hundreds of times, and more often than not there is an extra comma somewhere that is causing the issue.

  • How to see the linked table in oracle 8.0

    hi,
    i am using oracle 8.0, i have some 8 to 9 tables in it, some of them are linked, is there any way i could see the linked tables, if you do know any utility pls let me know.
    regards
    user456932

    i am using oracle 8.0, i have some 8 to 9 tables in
    it, some of them are linked, is there any way i could
    see the linked tablesI understand from your question that you are refering to Referential Integrity. I.e you have Parent Tables with Primary Keys and Child Tables linked with Foreign Keys.
    It is easier to use GUI tools (OEM, Toad etc) to browse through them. In Toad for instance as a start, you can view the SQL Model. There are other Modelling tools you can use as well.
    For the start, you can check USER_CONSTRAINTS and other related dictionary views to find them.
    Here is a small example:
    select      constraint_name
         ,constraint_type
         ,table_name
         ,r_constraint_name
         ,delete_rule
         ,status
    from user_constraints;
    The constraint_type will show P (Primary Key), C (Check), R (Referential) etc
    However, you can use queries to find Object Dependencies in the Database.
    Read more from the SQL Reference Manual to get more knowledge in this area.

  • Automatically refresh the report tabs after selecting the parameters in bip

    Hello Everything!!
    Is there a way to automatically refresh all the report tabs once we select the parameters? The report are not refreshed automatically in each tab and users have to either hit apply button or refresh button for each report tab . Is this a lacking feature in BI publisher. I am using 11.1.1.6.6.
    Thanks,
    Uday

    Hello Everything!!
    Is there a way to automatically refresh all the report tabs once we select the parameters? The report are not refreshed automatically in each tab and users have to either hit apply button or refresh button for each report tab . Is this a lacking feature in BI publisher. I am using 11.1.1.6.6.
    Thanks,
    Uday

  • The tracking tables between Oracle Trade management and General Ledger

    Hello,
    I need some help about the Oracle Trade management(R12), I have a requirement to find the records which exist in the Claim tables but not in the GL table, I found OZF_AE_HEADERS and OZF_AE_LINES tables, but did not find the relationship between these two tables and GL import reference table. Is there any subledger table between Trade management and GL modules? Please kindly provide some information about this, thanks a lot.
    Best Regards
    Spark

    Check whether OZF has uptaken XLA in your R12 release.
    http://www.orafaq.com/node/2242
    By
    Vamsi

  • Refresh the report table simultaneous

    Hi All,
    Even though I have hidden the apply button, the report tabs are not refreshed with the parameters in the bi publisher report. We have to refresh the report page manually for each tabs.Is there a way to refresh all the report tabs at once when we change the parameter in bi publisher 11g report.
    Thanks,
    Sushil

    If you removed the apply button, then the action of selecting a new parameter value automatically reruns the report. However, if you want to have the report run with the first value or default value selected, then you may want to set a default value and set the Auto Run property and then the report will be refreshed automatically.
    Thanks,
    Bipuser

  • Automatically refresh the OBIEE report

    How to refresh a OBIEE report automatically, when the data in the database changes?

    Thanks for the reply.
    I have to refresh the report only when the data in the database changes. If I use a variable then I would have to set the variable to some fixed number of seconds and the report would be refreshed every 'n' seconds. That is not what is expected.

  • Configuraing the Durable process in Oracle BPEL

    Hi,
    We are working on Oracle BPEL process manager version 10.1.2, in development mode with Oracle lite for the dehydration data source.
    Requirement:
    We need to create the long-living and durable process which invokes the Web Services deployed in the JBOSS and Weblogic application servers. The operation in these web services are Request-Response messages and takes about 5 minutes to give the response back. During the execution of process instance if Oracle BPEL server gets re-started We need the BPEL Server to resume the instance execution from the place where it had stopped when it went down.
    Implementation:
    We have created the Asynchronous business process to orchestrate the invocation of web services said above. And added the WAIT activity for 2 seconds to ensure the dehydrations points. Since the Web Services are invoked synchronously we had used the WAIT activity to set the dehydration points. When the server is alive during the complete execution dehydration happens perfectly and receive the final result after 10+ mins.
    Issue:
    When the BPEL server goes down during the process execution then it is not resuming the process instance from the place where it stopped.
    Please suggest me what kind of configurations that i need to make to the process or domain so that when Oracle BPEL server re-started, it could resume the execution of active process instance.
    Thanks in Advance.
    Sujatha

    Perhaps this presentation:
    http://www.oracle.com/technology/products/ias/bpel/pdf/bpel-admin-webinar.pdf
    or
    http://download-uk.oracle.com/docs/cd/B31017_01/core.1013/b28941/soa.htm#BGBJIFHH

  • Update to power query does not refresh the pivot table

    Hello all,
    whenever i make a change to power query dataset and do a refresh, the data will not be refreshed on the pivot table build on the power query dataset.
    Is there anything which i missed while updating the powerquery?
    Thanks
    Satya

    I have created the Powerquery dataset and loaded it into Data model. Then i have created the pivot table using the external connection.
    After making changes to dataset and then loaded the dataset to Data model. After these changes, once I click on the refresh pivot table or refresh all from data tab nothing changes on the pivot tables.
    Thanks
    Satya

  • How to find the largest and the widest tables in Oracle 10g ?

    Hi Folks,
    Environment: 10g Rel 2
    Can somebody please suggest the data dictionary view(s) that I can query to get a list of the longest (rows) and the widest (columns) tables in any schema ?
    Thanks in advance
    rogers42

    rogers42 wrote:
    Hi,
    Thanks for the replies.
    By the "longest" table, I had meant a table with most number of rows. And few people had wisely pointed out the dba_tables view.
    By the "widest table", I had meant a table with the most number of columns. Is there a view that can give me this info ?
    Thanks
    rogers42if your statistics are updated :
    SELECT D.OWNER , D.TABLE_NAME
    FROM DBA_TABLES D
    WHERE D.OWNER NOT IN ('SYSTEM', 'SYS')
    ORDER BY D.NUM_ROWS DESC
    and try this code, for the second :)
    DECLARE
    CURSOR cur_tab
    IS
    SELECT D.OWNER AS OWNER , D.TABLE_NAME AS TABLE_NAME
    FROM DBA_TABLES D
    W_TABLE VARCHAR2(30);
    W_OWNER VARCHAR2(30);
    w_count_col NUMBER;
    w_col_max NUMBER;
    BEGIN
    w_count_col := 1;
    w_col_max := 1;
    W_TABLE := 'TEST';
    W_OWNER := 'TEST';
    FOR c IN cur_tab LOOP
      SELECT COUNT(*) INTO w_count_col
      FROM DBA_TAB_COLS t
      WHERE t.owner = c.OWNER
      AND t.TABLE_NAME = c.TABLE_NAME
      IF w_count_col >= w_col_max THEN
        w_col_max := w_count_col;
        W_TABLE := c.TABLE_NAME;
        W_OWNER := c.OWNER ;
      END IF;
    END LOOP;
    dbms_output.put_line(' w_col_max : '||w_col_max) ;
    dbms_output.put_line(' W_TABLE: '||W_TABLE) ;
    dbms_output.put_line('W_OWNER : '||W_OWNER) ;
    END;

Maybe you are looking for

  • Satellite A300D-15B - Screen turns between on and off

    Hi, I've been having some problems with my laptop's screen; it's an on-off thing, however during these past few days it has become worse. Whenever I tilt my laptop screen past a certain point, it turns black. However if you shine a bright lamp at the

  • Install Oracle 9i on Fedora 11

    I am new to Oracle and Linux as in. Yah completely technical so can understand u completely. I have started taking in lectures for OCP and need to practice and learn ORACLE on linux in parallel. I am trying to install Oracle 9i on Fedora 11( cant opt

  • How can I open a PDF file without first saving the file?

    How can I open a PDF file without first having to save the file?

  • How to create Spatial index in SQL Developer Data Modeler 4

    Hi, What is the procedure to create a Spatial index in SDDM v4 ? I ended up in a deadlock due to the following issues : 1) Reverse engineering missed the spatial index, so I need to add them manually. 2) Adding an index does not allow me to check the

  • Deploy Crystal report at BW

    Hello, I have developed a CR with underlying BW query via SAP toolbar. I saved the report to BW under my role and publish to BOE. It prompted a new transport request and I created the TR. Nex,t I launch /crystal/rptadmin at BW dev, I can see the repo