Purging terminated Instants in SOA

Hi
I want to Purge BPEL Instances that Terminated on successful completion. I have searched a lot but could not find scenario like this. But this tutorial looking good
Delete large numbers of instances in Oracle SOA Suite 11g 
Under "purging instances of multiple composites using STATE filters" the writer has mentioned the following stats
FILTER.STATE := fabric.STATE_COMPLETED_SUCCESSFULLY;
--FILTER.STATE := fabric.STATE_RECOVERY_REQUIRED;
--FILTER.STATE := fabric.STATE_COMPLETED_SUCCESSFULLY;
--FILTER.STATE := fabric.STATE_FAULTED;
--FILTER.STATE := fabric.STATE_TERMINATED_BY_USER;
--FILTER.STATE := fabric.STATE_SUSPENDED;
--FILTER.STATE := fabric.STATE_STALE;
--FILTER.STATE := fabric.STATE_UNKNOWN;
I what meant by FILTER.STATE := fabric.STATE_TERMINATED_BY_USER can i use this to purge successful completed composite with terminated condition
Please help me in this regards or any other alternative
Thanks
Tipu

You can use a Java API (documented here: http://docs.oracle.com/cd/E21764_01/integration.1111/e10226/soaadmin_apimanage.htm) to remove composite instances, either from Java or Jython, of course. I prefer this to the OOTB purge scripts because they're fairly opaque and after working in middleware for the past 14 years my mind doesn't easily run to database internals so the chance to use a Java facade onto what's actually in SOAINFRA is welcome.
FWIW, I've got a Jython script that deletes instances within specified timestamps that are not running or needing recovery. One caveat is that the list of states in the CompositeInstance interface is not the same as the list in the database (which you can read here: https://blogs.oracle.com/ateamsoab2b/entry/list_of_all_states_from).
HTH
Paddy

Similar Messages

  • Need help with a terminal command

    Ever since Lion, or maybe even earlier, I am fighting a losing battle against memory leaks on my MacBook Pro. Safari for example takes over time 2GB+ for just 2 or 3 tabs open with almost no extensions active. Really strange.
    Someone told me about the "purge" command in Terminal to free some of the sequestered memory, so I am doing this a few times a day to be able to use Photoshop, Keynote, Premiere and other stuff concurrently without opening and closing apps like I did 10 or 15 years ago, remember those days?
    So here are my 2 questions:
    Will this frequent "purge" command harm anything in the long run?
    If no, is it possible to automate this "purge" Terminal action somehow? Maybe a desktop icon to click, or fully automated? I am a designer, not a coder, so I would need help with that.
    Thank you for your input!
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro8,2
      Processor Name:          Intel Core i7
      Processor Speed:          2.3 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          8 MB
      Memory:          8 GB
      Boot ROM Version:          MBP81.0047.B27

    Hello, do any modifier keys work, like Optio/alt?
    Could you have Firmware password protection in Mac OS X ...
    http://support.apple.com/kb/HT1352
    It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option, and Shift, as well as booting from anything but the Hard Drive.
    Force Removing Password Protection
    1) Add or remove DIMMs to change the total amount of RAM in the computer.
    2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
    http://www.securemac.com/openfirmwarepasswordprotection.php

  • Purging and Archieving startegies

    Hi Guru's
    Can you please let me know the eefeictive way to archieve and Purge the B2B data.
    Actually we are looking for a methodology to properly purge and archieve the SOA and b2b instance data. It will be good if you can point me to scripts for this.
    Our typical case is we want to archieve and purge the data depending upon the days gieven to scripts.
    Any pointers are highly appreciated
    Regards
    S

    Hey using the B2B_PURGE_INSTANCE_MSGS, some instances are still in the table
    Here is an example of what appears:
    State - Transport Protocal - URL - Created - Protocol Message ID
    PROCESSING
    File
    file://localhost//shared/soa/edi/input/b2b
    05/20/2013 03:22:2
    COMPLETE
    File
    file://localhost//home/soa/856/output
    02/08/2013 05:37:39 PM
    TestOutput856_4.txt

  • Does anyone know any cool Terminal commands and what they do?

    I know of the purge Terminal command whenever I need more active memory, but I'd like to know more commands. Please provide them?

    A good place to start:
    _http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html?page=1_
    Joe

  • Looking for GTK2/transparent terminal emulator

    I've been trying to find a decent terminal emulator that fulfills my requirements, nothing quite hits the mark for me so far!  I need a terminal emulator that has the following:
    * GTK2
    * tabs
    * mouse scroll - for apps such as man, less etc as well as scrollback
    * true transparency
    * click urls and launch in a browser
    * Not too many dependancies, gnome, kde etc
    Any suggestions would be appreciated!  I've tried xterm, Sakura, Termit, evilvte, Terminal, lxterminal.  I'm currently using urxvt which is close to what I want.

    moljac024 wrote:gnome-terminal then.
    Although, might I suggest staying with urxvt and using gnu screen ?
    Besides all the other advantages, you won't need no terminal tabs
    Although urxvt does support tabs if you still wanted.
    For me, I have never had any use for tabs in terminal. all i need to start a terminal is a Mod4+t anyway. easy enough to hit and brings up the terminal instantly and I don't have a panel in any of my WMs, so I don't have to worry about it taking up real estate on the task bar

  • [Flex SDK in Linux] Errors running a .swf file

    Hi! Trying to set up flash development on my linux machine. Using FDT in Eclipse. The version of Flex sdk I have is 4.6.0.23201-2.
    I have in the first place had problems running the project. It gets terminated instantly and I get this output in my terminal:
    [Info] Listening to port 7935.
    Using Flex SDK 4.5 Debugger Adapter.
    [Info] Could not connect to the player, will try to connect for the next 72000 ms
    [Info] Listening to port 7935.
    [...etc etc...]
    [Info] Could not connect to the player, will try to connect for the next 8000 ms
    [Info] Listening to port 7935.
    [Info] Could not connect to the player, debug session stopped. Maybe you do not have the Debug Flash Player installed.
    Does "the Debug Flash Player" here mean Flex?
    And this is what happens when I run the .swf file that is compiled by FDT (Using Flex..), in Flex: http://justpaste.it/dlr3
    Any idea what could be the problem? Thanks!

    Hey Mark,
    Thanks for replying.  It's a standalone swf.  I'm still stuck on this issue.  It seems like it would be simple but it's baffling me.

  • MPB acting weird

    Hello Apple Support Community,
    I have a late 2011, 13 inch MacBook Pro (technical details shown below). Lately, it has started to act funny in the past couple of weeks. One day, when i had to restart to install software, on the boot screen it was grey for awhile, then the apple logo with the spiny thing for a few minutes, then this screen showed up.
    Then, I restarted, and it took FOREVER to go to the login screen. Sometimes, iTunes will not open up (I restart and it solves the issue), and the laptop at times just seems to crawl. I find it suprising because this machine that I have is pretty new and fast (I have only had this machine for about a little less than six months). I often find myself running out of ram, i mean, i have 4gb of ram! (Lion I hear is usually a memory hog) I usually have to do the "purge" terminal command to free up some ram. Oh, everytime I login to my profile, terminal always pops up saying about java and things (i play minecraft on my laptop and since it uses java it pops up?). Also, whenever i play minecraft or video chat on here, my laptop sounds like a jet engine. Yes, i tried the smc reset, but it did nothing. And whenever the fans speed up, the bottom of the laptop gets EXTREMELY hot.
    Could any of these problems be linked with Lion? (Lion shipped with my macbook pro) Could i have a virus? (Very unlikely, I checked to see if I have the flash back trojan, I don't) When Mountain Lion comes out, could it solve my issues? Should I do a clean install of Lion? All of your input would be highly appriciated.
    -Sean

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.

  • Does fabric package exist in new bpel version 11.1.1.6

    Hello All,
    We have migrated our bpel server from 11.1.1.5 to 11.1.1.6 and we are seeing lot of difference in the database structure. We were using purging strategy using fabric packages for 11.1.1.5 but when we are trying the same for 11.1.1.6 we can't see that package in it.
    We are using the other purging deletion method using soa.delete_instances but it is also not working. Are we missing that fabirc package. It should be their or not in 11.1.1.6 ? Any ideas ?
    Thanks
    Vikram

    Thanks for the response vijay but I already read these links. Actually i was working on the below thread from a long time but not able to find out the solution of it. So i was just checking if that fabirc package should be their in that new bpel database or not.
    Unable to purge bpel instances
    Thanks
    Vikram

  • Cisco Prime 4.1 Swap Space Issues

    We have a issue where Cisco Prime 4.1 is using alot of swap space. We have 16 Gigs for it and it will use most of it. Also I am running out of Drive Space. I have all of my pruge settings correct, but still having issues. Any ideas?
    Thanks.

    Which Server OS is it? Windows or Solaris or an OS on VM?
    How do you determing if Swap is taken? Swap is allocated space in memory/RAM and processes are switched to it by scheduler when not in run state. Do you mean your memory utilization is high?
    For Disk Space, you have to again share which directory is taking up space? 
    Ideally LMS has following directories which may take a lot of space :
    > NMSROOT/log directory where a lot of logs can take up the disk space. You can use Log Rotation to free the space. For instant release of disk space, you can stop daemon manager and delete logs from there and start it back.
    ** Log directory : 
    Windows : NMSROOT/log
    Solaris : var/adm/CSCOpx/log
    > Directory where LMS saves the device configuration, it gradually takes up a lot of space and hence you should do some instant purge to for archived configuration and change audit data.
    ** Log directory : 
    Windows : NMSROOT/files/rme/dcma/devfiles
    Solaris : /var/adm/CSCOpx/files/rme/dcma/devfiles
    > Also, if your LMS installation is running since many years, there are chances you have a lot of jobs history. You should also do purge or instant purge to these jobs.
    For details on Purge settings check document here.
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them.**

  • Sea's Script Collection

    Heyas
    Currently (29th dec 2011) it mainly supports RH based distros (mainly Fedora), so its good if you like to test any of their distros.
    As soon the basic 'setup' module (sc set) is working, i'm going to port it to Arch.
    Edit: Started porting, slowly.
    The sourcecode is located at (change the url's core wich represent the framework core with set (setup), lfs (linux from scratch) or sup (support): https://sourceforge.net/p/seasc/core/sc … f%2Fmaster
    The README with a list of the commands provided with the Script Collection may be read at: https://sourceforge.net/projects/seasc/files/
    Its a bash script collection, with a very simple try for a cli gui.
    Its purpose is to simplify several tasks, and shall provide a simple menu with cathegorized tasks.
    Please post your feedback, so i can improve it and make it usable to the linux community!
    Core: (the script files in ./collection and ./collection/tools)
    Yum*: yum is the equivalent of pacman, sometime an process gets broken, so depending on the issue either call: yumreset or yumresume.
    rmtf: removes temp files recursivly from $(pwd)
    vimail: opens local mail folder
    tools/siggen: Creates a simliar sig as mine
    tools/iso2usb: a simple menu for writing iso/img files to an USB-drive
    Setup: (sc set)
    de: provides a menu for a simple installation of X11 and several DE's, such as E16, Awesome or LXDE.
    multimedia: Well, installs all the required multimedia files for fedora.
    $distr-specific: Currently only supports RH, so again multimedia and plymouth (the bootloading animation)
    net: Still trying to figure out better handling, not yet fully supported, ignore iptables and security for now.
    Linux from Scratch: (sc lfs)
    Not yet finished, but working up to chapter 5.5
    How to get it:
    cd $HOME
    mkdir sc
    cd sc
    wget -nc https://sourceforge.net/projects/seasc/files/latest/download
    tar -axf sc-0.?.?-all.tar.bz2 || tar -axf download
    alias sc=$HOME/sc/sc
    sc install
    echo
    Please let me know your feedback.
    Hope its usefull and for your like.
    Happy holidays
    Simon
    Last edited by esa (2012-01-05 13:51:21)

    1.well sc quits the terminal instantly on 'Run in Terminal'.
    2.iso2usb
    /home/candice/Desktop/collection/tools/iso2usb: line 20: scheader: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 22: scheader: command not found
    1) /home 3) /etc 5) /usr
    2) /home/candice 4) /opt 6) OTHER
    #? 1
    Scanning /home/home/candice/Desktop/collection/tools/iso2usb: line 50: scheader: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 56: scheader: command not found
    1) usb-SanDisk_Cruzer_Micro_2605000CAC504F16-0:0
    2) usb-SanDisk_Cruzer_Micro_2605000CAC504F16-0:0-part1
    #? 1
    /home/candice/Desktop/collection/tools/iso2usb: line 67: scheader: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 68: scecho: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 69: ask: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 70: return: can only `return' from a function or sourced script
    /home/candice/Desktop/collection/tools/iso2usb: line 77: scecho: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 78: scecho: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 79: ask: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 85: patience: command not found
    /home/candice/Desktop/collection/tools/iso2usb: line 86: scheader: command not found
    Password:
    it exits after the password.
    feedback:
    i am not a script expert but i think the error outputs i get  might give you some idea about what is wrong.maybe everything is connected to the fact that i am not able to run 'sc' and go from there.
    Last edited by hadrons123 (2011-12-31 14:23:06)

  • When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a s

    When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a stalled/locked program.  I have tried restarting my machine multiple times and tried reconfiguring how the cache is managed.  Do you have anyone who could walk me through each step to correct this problem which just started two days ago.  I have owned this program for at least a year now...

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How do I start Firefox 4 from KMenu when I downloaded and installed Firefox4.0.tar.bz2 (only launches from terminal), and 'apt-get' installs Firefox 3.6.15 even though I tried to "--purge" it from Linux?

    I downloaded and installed Firefox 4 RC using tar.bz2 so that I could still use Firefox 3.6.15 as per normal, having to start Firefox 4 using the terminal which worked great (except for many videos on different websites). When Firefox 4 was released, I suppose I was in a hurry to get it to work normal from my menu, but it kept saying that 3.6.15 was the latest version (I'll be quite embarrassed if it wasn't available for Linux users - I do love Firefox!). I did something silly, like purge Firefox from my operating system (Kubuntu 10.10) and when I reinstalled it was still 3.6.15 (it wasn't really downloading, but unpacking). Am I in too much of a hurry or is there a fix-it? I can use Firefox 4, but only through the terminal and I suspect it is slower than it should be. I would like only one version now.

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • Instant Search not working on local mailbox in Outlook 2007 on Windows Server 2008 R2 Terminal Server

    Sometime last week Instant Search stopped working on a Terminal Server we have deployed. I don't use Outlook on the server so I didn't notice it myself but users started complaining several days ago. When I checked instant search settings everything was
    grayed out. I noticed that the feature for Windows Search was disabled so I enabled that feature rebooted the server and now instant search is looking for email in archive folders and sharepoint lists. Local Mailbox mail however is not being indexed by instant
    search. When I check data files it says that there is no file for the local mailbox. I checked and Cached Exchange Mode is disabled so no OST is being created and apparently there is no PST for it either.
    Do I need an OST/PST to search the local mailbox?
    Also I have added the Office GPO Templates and enabled the GPO for allowing Cached Exchange Mode but that doesn't seem to be helping either. Please help.

    Have you had any luck with this?
    One of our clients has reported that 5 different users, when RDP'd into 3 different RDS Servers, cannot use the Instant Search.
    I haven't been able to find anything about this in my online searches.
    Like you, the mailboxes aren't even appearing under Instant Search > Search Options.  Also, it would appear that there are no locally-hosted .ost/.pst's for any of the users on this server; can the instant search function work on a .pst that's saved
    somewhere else on the network?

  • Oracle SOA Suite 11.1.1.6 10k instances after purging

    Hello,
    finally I made some steps in purging the Oracle SOA Dehydration store. So I went on and run the soa.delete_instances(...) multiple times in a development env. I was pleased to see everything older then a week getting deleted.
    But after that there were some instances left in the dehydration store that don't show up in the /em but Oracle says those instances are open and running (cube_instance.state=1).
    How do I get rid of those instances? One simple solution is to update the cube_instance with an older than one week created_date and update the state from 1 to 5. After that they will be deleted the next time the soa.delete_instances() procedure is called. But does anyone have a clue why this happened? Is this something showing up in our production enviroment?
    Hope to catch some thoughts

    Hi,
    did you find the solution or an acceptable answer for that question?
    For me still the 10 and 5 state instances and the EM dont show too.

  • Bizarre error in terminal after latest system update while running "purge" command

    sh-3.2# purge
    [ERROR]    <CPPathUtils.c:526>    The device-file for this operating system, 'osx-12.1.0.xml', was not found. An attempt to revert to a previous revision of the OS device-file: 'osx-12.0.0.xml' has been made. Please file a Radar report with Apple, on the 'CoreProfile' component, version 'X'.
    purge seems to still work, but now every instance of purge is immediately replied with the above error
    any ideas?  is this serious?

    My suggestion is to do the following as this is a level 3 error so hence is non critical:
    1. Open Terminal.app
    2. cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/De vices/
    3. sudo ln -s osx-12.0.0.xml osx-12.1.0.xml
    4. Enter password if asked
    By adding a soft symbolic link you fool the purge command into believing the newer file exists. This type of link is non-distructive and hence if the file osx-12.1.0.xml will be overwritten if it is installed with a future update.
    Use this at your own risk but it does offer a temporary fix. Its hard to say if the issue is fixed in 10.8.2 we will have to wait to find out. The fix has the benefit of preventing the annoying message about rolling back as the roll back will be done behind the scenes using the link.

Maybe you are looking for

  • Error while executing program in background

    We have a program to upload data to the presentation server in the xml file format. It is working fine in foreground.But whenever we are trying to execute it in the background it gives error: 'Error in control framework'.

  • PO amount isn't reflected in the liquidity forecast

    Dear Gurus, I have completed all the cash management configuration, but somehow the liquidity forecast only captures the balance of PO that has been converted to invoice through MIRO. I think CM retrieves the invoice balance through planning group wh

  • Differenti​al Equation Solving Help

    I am trying to solve the diff equation x'' + ax' + bx = c The ODE Linear nth Order Numeric function can handle the second derivative but not the c part, correct? The euler and assorted solvers can't handle the second derivative nor the constant, corr

  • Duplicate A/P invoice

    Good afternoon, I duplicated A/P invoice from a exist A/P invoice. such I remitted source deductions every month, I did the following entry at A/P invoice window: 2103040-00   Income taxes-payroll       XXXX 2103025-00   Cpp payable- employer   XXXX

  • Capture system image with MDT

    Hello everyone, I want to create a Windows 7 installation disc that will allow me to have, immediately after installation, a system updated with the latest hotfixes, installed programs and all the settings I want already selected in the system. Now,