Remove stale using the BPEL Console instances

Hello

I want to delete all obsolete instances in a particular area in production using the BPEL Console environment.

Can anyone help me please with the same.

Awaiting reply ASAP.


Thanks in advance,

Umang.

Duplicate the $ORACLE_HOME/bpel/system/database/scripts/purge_instances_oracle.sql

Change the following queries

   INSERT into temp_cube_instance
      SELECT cikey
        FROM cube_instance
       WHERE state = 9 AND modify_date < p_older_than;
   INSERT into temp_invoke_message
      SELECT message_guid , headers_ref_id
        FROM invoke_message im
       WHERE state =9 AND receive_date < p_older_than AND NOT EXISTS
       -- we do not want to delete those rows which are referenced by the delivered messages
       -- but also by the open cikey instance
       (SELECT 1 FROM cube_instance ci,
                      document_ci_ref dcr,
                      document_dlv_msg_ref ddmr
            WHERE im.message_guid = ddmr.message_guid
                  AND ddmr.dockey = dcr.dockey
                  AND dcr.cikey = ci.cikey
                  AND ci.state =9);
   INSERT into temp_dlv_message
      SELECT message_guid , headers_ref_id
        FROM dlv_message dm
       WHERE state = 9 AND receive_date < p_older_than AND NOT EXISTS
       -- we do not want to delete those rows which are referenced by the delivered messages
       -- but also by the open cikey instance
       (SELECT 1 FROM cube_instance ci,
                      document_ci_ref dcr,
                      document_dlv_msg_ref ddmr
            WHERE dm.message_guid = ddmr.message_guid
                  AND ddmr.dockey = dcr.dockey
                  AND dcr.cikey = ci.cikey
                  AND ci.state = 9);

See you soon,.
Prasanna

Tags: Fusion Middleware

Similar Questions

  • Connection using the BPEL Console error

    Hello

    When I try to log in using the BPEL Console, I get the following error:
    "No area accessible to the user not connected."

    I tried to link "Goto BPEL Admin". I have not found any field it. I'm unable to add the new domain also.

    Can someone let me know if I need to change any configuration to make it work?

    Thank you

    Hello

    can you please make sure, that your database (oracle or olite) is running?
    You can test the data sources for the container of oc4j_soa inside the Business Manager (hostname:7777 / em)?

  • Not reflected in the BPEL Console task approval

    Dear Experts,

    I'll have a human task in my BPEL process. Using wofk API flow I am downloading of attachments for the task of BPEL and able to store it in the location.

    Here I am allowing the user to download attachments. So in BPEL, I introduced 'while' activity and is based on the number of attachments I'm an iteration and
    store the file to the physical path.

    But the question is, if ever a loading user as an attachment to the activity of the task and approve the task it gets approved.

    But the approval of task does not get reflected in the BPEL console. Here in the console BPEL still waiting for response from the task. I am not able to solve this problem.

    But I think that there could be an exception in my code. But he doesn't think.

    Please suggest me.

    Thank you
    Rajesh

    When the task is approved, it disappears from the list of tasks of the application from the task list?

    you need to check three log files, 1) //bpel/areas//logs/domain.log and 2)/j2ee//logs/ /, check .out and .err files.

    Let us know if you get log entries related to your task.

  • Not appearing BPEL process called is not in the BPEL console!

    All,

    BPEL version: 10.1.3.4 as well as my JDev

    I have an asynchronous process that reads an xml file and insert the record in DB. The process works well, but today I found a strange behaviour that the process reads the file and inserted in the DB as well, but did not see the instance in the bpel console! I went through 10.1.3.3 guide, it is said in the process of the bpel console tab you could see "perform manual Recovery" for the retry mechanism. Is there a similar feature available in 10.1.3.4? If so, how can I achieve this?


    Thank you

    Sen.

    On the console, go to Administration - > retry option for different operations i.e. call activity,...

  • Cannot use the client console discovers vGpu 6.1

    Hi all

    I'm unable to use the client console after deploying machine put in common, I see a black screen.

    Master image work of the console very well and when I connect via the customer direct access overview and breath all work very well.

    I have a virtualized environment based on vsphere esx 6.0, view Server 6.1 and Nvidiia vib file NVIDIA-vgx - VMware_ESXi_6.0_Host_Driver_346.42 - 1OEM.600.0.0.2159203.vib (for cards NVIDIA K1).

    Best regards

    Once the NVIDIA driver is installed and enabled, it disables the display of the console, so this is of design and a sign of properly working config.  Direct connection is the right way to proceed, not RDP as this will bypass our driver.

    -Luke

  • The pdf I want to change has all embedded fonts.  When I try to insert a comma, I get the message, "all or part of the selection has no available system fonts.» Cannot add or remove text using the selected font. "Will I still have this problem

    The pdf I want to change has all embedded fonts.  When I try to insert a comma, I get the message, "all or part of the selection has no available system fonts.» Cannot add or remove text using the selected font. "Will I still have this problem if I'm updating from Acrobat X?

    You have the fonts installed in the system. This has not changed. (Having the police is not always enough, but it is certainly necessary).

  • ESX using the Remote Console connection

    Hello everyone.

    I need your advice about connecting to ESX using the remote console.

    When I try to connect to using the remote console ESX vsphere Client, sometimes borrowed is broken. then I try to find out what is happening.

    It seems that gateway setting which is the cause of connection page. The failure of connection every time, gateway ESX is different from the vsphere client gateway.

    Are there requirements when connecting ESX using the remote console, like ESX gateway should be corresponding to gateway of vsphere client or something...

    {I would appreciate any information, THNAK I YOU: 8}

    Remember that the bridge will depend on the network, the device is turned on - so if your ESX server and the computer running the vSphere client are on the same network then yes they should have the same gateway.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • javax.servlet.ServletException - at the launch of the BPEL Console

    Hello

    I applied the RLM 7 patch (Patch # 8372141) on my environment of fmw.

    Environment details apply the hotfix:
    SOA Suite - 10.1.3.1 + 10.1.3.4
    O Patch 1.0 . 0.0.61
    MLR5 patch 7714967

    Before applying the patch, it was working fine and no problem.

    After you apply the fix, I could not connect to the BPEL Console URL, get the below error message

    Complete cycle of Oracle BPEL Process Manager
    An unexpected error occurred during the execution of your request. This is probably related to a defect in the product, Oracle BPEL Process Manager. We apologize you can post the error on the OTN forum and we will respond as soon as possible.
    Update information:
    *****************************************************************************
    Oracle BPEL Server version 10.1.3.4.0
    Build: 0
    The generation time: Fri may 01 18:07:27 PDT 2009
    Build type: free
    Tag from the source: PCBPEL_10.1.3.4.0MLR7_GENERIC_RELEASE

    Exception message:
    javax.servlet.ServletException - com.collaxa.cube.ejb.impl.BPELProcessManagerBean.getDefaultRevision (com.oracle.bpel.client.BPELProcessId, com.oracle.bpel.client.auth.DomainAuth)

    I couldn't find a way to attach the log file and the contents of the log file is too big to post here... (exceeds the maximum length)

    Could someone help me on this?

    Thank you
    Suresh

    Hi Suresh,

    Looks like the size of the file orabpel.ear is different from $ORACLE_HOME/j2ee/oc4j_soa0/applications/orabpel.ear and $ORACLE_HOME/bpel/system/services/lib/orabpel.ear location. Could you please let me know their sizes, so that I can check cross in my environment.

    If it does not, then correct it please rollign back the RLM # 5 patch and see if there is plain 10.1.3.4 the work of the Group of hotfixes. Then, again applied the RLM # 5 and its no fix post.

    Concerning
    A

  • Purge/remove entries from the em console messages

    Hello

    Now, we put the Server SMTP as a model, so all the email is getting failed.

    Question:

    (1) if we return to the real Server SMTP, all failure events will trigger again (I mean goes all pending emails sent again).

    (2) how purge/remove all entries from the em console? Basically, we want to delete all messages.

    Hanks

    Hello

    To purge messages, you will use the script to purge for ORASDPM.  This functionality is achieved through the 11676998Patch.  See: Purge schema ORASDPM on SOA 11 g (Doc ID 1287036.1)

    See also Note.2009615.1 for a few related FAQ to this

    Hope that helps,

    Amy

    -----

    When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find.

  • Who is looking at my virtual machine using the VSphere Console at the same time?

    People,

    I would like to know if it is possible to know what VI Client / vSphere console user currently displays the Vmware console at the same time for a particular virtual machine I'm working on?
    Because right now, someone else is my VM console access and may have forgotten to close the VI Client and now I'm stuck.

    This is the error that I got when I try to connect to the console. Internal error MKS due to the 'RemoteDisplay.maxConnections with a value of 1"is in force.

    Thank you

    Hello, AlbertWT-

    Well, it seems that there is another way.  You can get the number of current connections of MKS (mouse keyboard screen) for the given virtual machine and uses this value to your Select statement.  Which must correspond with the users with current MKS connections to this virtual machine.

    So, what to put with what hosted proposed and you changed, it would be like:
    $strVMName = "myVM"## get VM; will use an ExtensionData value from this later$vm = Get-VM -Name $strVMName## get the events that are for console connects, sort, and then select the first X items, based on the number of current MKS connectionsGet-VIEvent $vm | ? {$_.FullFormattedMessage -like "Remote console Connected*"} | Sort CreatedTime -Descending | Select UserName, CreatedTime -First $vm.ExtensionData.Summary.Runtime.NumMksConnections | ft -AutoSize
    
    And, a variation on the last line, the one who checks the type of the VIEvent (vs do a string comparison):
    ## same, but check the event type instead of a string compare on the FullFormattedMessage (just to not rely on string compares)Get-VIEvent $vm | ? {$_ -is [VMware.Vim.VmRemoteConsoleConnectedEvent]} | Sort CreatedTime -Descending | Select UserName, CreatedTime -First $vm.ExtensionData.Summary.Runtime.NumMksConnections | ft -AutoSize
    

    The two should work, but the second version removes the dependency on the string comparison.  For example, if the FullFormattedMessage changes in the future implementations of vSphere, things should still work (However, this would be still vulnerable to break if VMware changed the name of the type of the event).  A bit of a preference thing.

    How does do for you?

    Note: by sorting on Createduserid, this process assumes that the current console connections have been made in the order.  In other words, if someone has been connected to the console of the virtual machine since yesterday and connect / disconnect / reconnect, _you_ will be the last two events Connect.

  • As you add or remove fields in the IOM console

    Hello
    I have a friends of query, you can add or remove fields in the interface where users are created in the IOM (web console).
    Someone help me because I was able to perform this procedure.
    I am very grateful for his support.
    JLK

    Hello

    To add or remove new fields on this page, you must use the form "User-defined fields" console design. (Ask the 'users' form and add your fields it).

    If you want to remove a field by default the form to create a user (Email, name...), you will need to make changes to the FormMetadata.xml file. You can search in the forum the key to the word "FormMetadata.xml", there are a lot of posts on this type of customization here.

    It will be useful.

  • an Apple iPod cannot be correctly removed by using the feature remove the device safely

    after syncing my ipod, I can remove my ipod from itunes.  However, I can't remove ipod from windows xp by using the feature remove the device safely to the toolbar.    I click on the safely remove, the process can not pass with only sand standing clock sign.

    When I ignore it and remove the ipod to the usb port.  a yellow exclamation point is next to the apple ipod usb device in device management.  Later, when I close the pc,

    He cannot close normally, I shoud reset cp and restart and then shut up.

    What can I do? is this problem related to my windows system or linked to my ipod.  I have try this ipod with some computers, problem solved, then with some computers not.

    Moreover, another usb device is ok, these problems will not occur.

    Support for products Apple is located in the Apple Forums:
    https://discussions.Apple.com/index.jspa

  • Use the Service console.

    Hi all

    I need to use the vSphere Server service console to run some commands on it. So please guide me how to open the service of vSphere console.

    Thank you

    Sanket.

    And here's an article that explains how to open a root access:

    http://KB.VMware.com/kb/8375637

    Duncan

    VMware communities user moderator | VCDX

    -

  • ESX 3.5: copy files using the service console from a network share to the esx host data store

    Hello

    I wonder. Is there a command that I can run the service console that would allow me to copy a file from a network share on the data store on the esx host?

    Eric

    If sharing is a Windows, you can also use smbclient within the service console and ride sharing.

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • How to use the Bpel output as input to the stored procedure

    I am a beginner SOA. The scenario is to use the output of a BPEL process in a procedure stored as input and validate it against the data in the database. The data received from the BPEL are compared with fields from different tables.

    It's basically a business process data validation.

    The output of BPEL is an Xml file and how it can b used in the query of a procedure?

    Published by: 869091 on June 29, 2011 12:14 AM

    The output of the BPEL process is in XML format.
    Your requirement is not clear, please state it correctly what you doing.

    Yatan-

Maybe you are looking for