Stale Instances in BPEL 10g

BPEL process instances are becoming stale by themselves (instances of latest version).
Also at times processes get fired by themselves immediately after deployment with null payload.
Please suggest,if someone has faced this issue.

Best example is here.
http://www.it-eye.nl/weblog/2007/09/10/oracle-bpel-10133-fault-policy-management/
Thanks,
Vijay

Similar Messages

  • Delete stale instances using BPEL Console

    Hi,
    I want to delete all the stale instances at a time from a particular domain in produciton environment using BPEL console.
    I can delete them individually but i want to delete them all at one time
    Can any one please help me with the same.
    Thanks in advance.
    Edited by: 786384 on Aug 11, 2010 11:20 PM

    Currently you don't have this option out of box, leaving the users to customize the existing purge script. However, an Enhancement Request has been logged with Oracle DEV Team for the same.

  • How to Purge ONLY multiple STALE instances from the Instances Tab in a sing

    Hi BPEL Gurus,
    In BPEL Process Manager (Instances Tab), I am able to see all the
    instances (Active, Completed, Faulted, Aborted and Stale).
    We are using Oracle's SOA Suite 10.1.3.1
    The Instances Tab also gives me an option to filter out different
    state of instances, with this kind of filtering,
    I am able to view either Active instances or only Stale instances.
    But my primary concern is after doing this filtering,
    If I want to delete all the 100 Stale instances in a single command,
    How do I achieve this ?
    I am able to delete only single instance at a time, which is really
    a time-consuming activity.
    Is there some kind of SQL Script (Delete statement), which does
    the above activity to delete 100 Stale instances in one go.
    If there is any SQL Script, please do provide me with the same,
    since this is a critical production issue for us.
    Also on which Oracle schema, do I need to execute the above SQL Script.
    All BPEL Geeks, please do help me.
    Thanks & Regards,
    Gopal D. Kalsekar
    Senior Software Developer
    Business Solutions (eGroup)
    M.H. Alshaya Company W.L.L.
    www.alshaya.com
    P :- (965) 224 3598
    F :- (965) 224 2488
    E :- [email protected]

    Hi Riko,
         Marc Kelderman has done an excellent job by writing
         purge_bpel_dehydration Stored Procedure.
         But after having a look at ORABPEL schema,
         no records are visible in any of the tables.
         (Is there any way to unhide these records in TOAD 6.3.2 ?)
         Also the script mentions about CUBE_INSTANCE table.
         In this table, there is a STATE column.
         What number do I need to specify in the WHERE clause
         of my SELECT query for this STATE column, so that I can
         only retrieve and delete STALE instances.
         Also as we are using SOA Suite 10.1.3.1, there is no
         such table by the name of WFTASK.
         I can see only 2 tables PC_TASK and TASK in ORABPEL schema.
         From which table, do I need to delete.
         Please confirm.
    Thanks & Regards,
    Gopal D. Kalsekar

  • BPEL 10g console - Activities tab

    Hi
    The activities tab in the BPEL 10g console has a column called Due and this column has the value of 'no date' for most of the faulted instances and for some instances it has the date timestamp of the when the instance faulted.
    My query is, Is this column populated based on
    i) the type of fault
    ii) the type of the bpel process itself ( sync/async)
    iii) the action specified in the fault policy.
    Also we are currently on 10.1.3.4.0 and noticed there is no 'Created' column in the Activities tab which shows the creation date.
    Please can someone shed some light on missing dates in the 'due' column and the why the 'created' column is missing and is there any simple way to add any columns to the Activities tab.
    Thanks
    Ash

    There are post installation steps for the upgrade to 10.1.3.3 from 10.1.3.0, these steps create few new tables. These steps are documented in the readme.html available with the patch download.
    See the section Section 6.2, "Run Upgrade Script on Patched Oracle Application Server 10g Release 3 (10.1.3.1.0)".
    These scripts create some new tables, the problem you are facing is because of these steps not being executed.
    Sash
    http://tech-sash.blogspot.com

  • How to retrigger a stale instance

    Hi,
    I have an integration scenario where an order was submitted from Siebel application. The order was recieved in fusion and there after the message was lost in fusion and no further bpel processes were called in the flow for order completion.
    Now to retrigger this order from fusion, the bpel process instance has now become stale and hence I am not able to retrigger it.
    Can Anybody pls let me know how do we retrigger this stale instance so that the flow proceeds further.
    Thanks,
    Vijay

    Hi Vijay,
    For this case do not do any thing in your first process. Just recieve the message from siebel and place it in a queue.
    So even some thing goes wrong message will sit in rejected message handler.
    Now second process will poll the message from first process and flow will continue.
    We can design second process as required.
    Regards
    PavanKumar.M

  • Some questions regarding BPEL 10g to 11g migration.

    Hi All
    I have the following queries,
    1.Is it mandatory to load xsd's , wsdl's , XREF , DVM into MDS ? or is it allright to keep them in file system ? currently we have a number of xsd's and wsdl's inside each of our 10g project > bpel subfolder. If they need to be deployed to MDS , then which files in 11g will need to be modified to use the new 'oramds:/apps/..... ' reference ?
    do they get automatically loaded into MDS when a Composite is deployed on WLS or do they have to be deployed separately using ant-sca-deploy?
    2. Should we modify fault-bindings.xml , DefaultPolicy.xml before or after upgrading the 10g project ? I understand that their references in composite.xml also need changing.
    3.
    a.Is it mandatory to modify the 10g dbadapter.rar contents (convert oc4j-ra.xml to weblogic-ra.xml ) and deploy the rar on 11g ?
    b.or can we manually create data sources,outbound connection pools> jndi factories etc and redeploy the dbadapter on 11g so that its weblogic-ra.xml gets updated with the data sources,jndi that we manually created ?
    want to know if  'a' and 'b' do the same thing ,so mutually exclusive OR both need to be done .
    same question for JMSAdapter.rar, aqadapter.rar
    4. When upgrading BPEL 10g to 11g using Jdeveloper, should all the data sources used by the project be created on Jdeveloper  ?
    5. Is it necessary to copy properties from 10g domain.xml t0 11g bpel-config.xml,soa-infra-config.xml ?
    6. Should external webservices used by BPEL be up and running , while upgrading from 10g to 11g in jdeveloper , OR only during deployment to wls? if they are needed during upgrading how to link to them from jdeveloper ?
    7. Do BPEL 11g projects needs to be deployed on WLS only as a SAR or are any other formats allowed ?
    Thanks in anticipation

    Hi,
    Please find the links where you can find the most of the answers for your questions.
    http://www.slideshare.net/oracle_imc_team/oracle-soa-suite-upgrade-10g-to-11g
    Oracle soa 10g to 11g migration
    Thaknks

  • Connect MQ V6.0 from MQ adapter over SSL in BPEL 10g

    Hi All,
    I'm trying to connect to a remote MQ using MQ Adapter from my BPEL(10g) process. I'm able to deploy the process successfully after adding the jars file in server.xml.
    My process is a poller one it just dequeue the message upon any message arrival.
    But its not picking up the message in spite of having numerous message in queue,in log its showing ,
    Failed to create QueueManager.
    +[ManagedConnectionImpl] Error while creating QueueManager: "MQW1". [Caused by: CC=2;RC=2397;AMQ9641: Remote CipherSpec error for channel 'JAVA.BSS_VSS.CLIENT'. [3=JAVA.BSS_VSS.CLIENT]]+
    Refer WebSphere MQ Reference Manual for Reason Code 2,397 and fix the cause of the error. Contact oracle support if error is not fixable.
    +[Caused by: CC=2;RC=2397;AMQ9641: *Remote CipherSpec error for channel* 'JAVA.BSS_VSS.CLIENT'. [3=JAVA.BSS_VSS.CLIENT]]+
    +; nested exception is:+
    +     ORABPEL-12511+
    I've got the SSL Cipher suite =SSL_RSA_WITH_3DES_EDE_CBC_SHA from client but don't know where to set that property.
    Would anyone let me know the procedures of invoking MQ over SSL in BPEL 10g.
    Thanks in Advance,
    Shreekanta

    I'm looking for exact property need to be set for SSL in Oracle MQ adapter.
    It would be very helpful if Oracle have some standard docs.

  • Can I find how many instances of BPEL process is in running state ?

    Hi,
    How can I find how many instances of BPEL process is in running state ? Any code/API ? help ? Thanks

    Check the class com.oracle.bpel.client.Locator...
    u can use the method listInstances(WhereCondition wc) to get the required details
    Regards
    Albin I

  • Delete Instances in BPEL console

    HI
    I am using Oracle SOA suite 10.1.3.1.0. So I will be having the Oracle lite as the dehydration store.
    I Have around 6400 instances in my BPEL console.
    What will happen when the number of instances are increasing.
    I am using a BPEL process to read xml and add data to SQL server database.
    When I deployed this process it was running properly. But now it is thrwoing the exceptions saying that the XPATH expression is failed.
    But when I process the same file it is not throwing any exceptions. Is this somewhere related to number of instances in the BPEL console??
    is there anyway to recreate the oracle lite database tables?
    Is there any way I can delete all the instances on a periodic basic without using another process or coding??
    Thanks
    V Kumar

    Well I have tried this crazy idea of using Oracle Lite with huge number of instance.
    I did this in performance test environment, not in Production.
    I could pump in huge number of transactions, and surprisingly Olite was able to take that.
    But the real bolt came when I tried to use "Purge All Instances" from BPEL console.
    The whole Olite crashed.
    But this was way back in the first version of BPEL and in the GA version of it.
    Never tried this in any version after that.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Running several instances of BPEL PM on the same machine ?

    Hi,
    What is the best setup to run several conccurent instances of BPEL PM on the same machine (Middle Tier install) ? Of course I would like to minimize the number of components I would need to install.
    - Do I need to install several Oracle AS instances (1 Oracle AS = 1 Oracle Home for each BPEL PM instance) ?
    - Do I need several Oracle databases for teh dehydration ? (apparently not : http://clemensblog.blogspot.com/2006/02/using-oracle-xe-for-bpel-dehydration.html)
    Thanks

    Hi unfortunately it is NOT supported to run more then one container with BPEL / and the isntaller will refuse to install inta a midtier that already has BPELPM installed ..
    w/o is more j2ee webcache installs (they are basically just the container, em and webcache) and connect them to the DB (different schemas if needed, for failover against the same)
    hth clemens

  • Perform XOR operation in BPEL 10g

    How can we perform bitwise xor operation in transformations in BPEL 10g.
    As a part of requirement, i need to add xor operation.
    Can anyone help on this.
    Thanks
    Phani

    How can we perform bitwise xor operation in transformations in BPEL 10g.
    As a part of requirement, i need to add xor operation.
    Can anyone help on this.
    Thanks
    Phani

  • Purging of instances in BPEL domain

    Hi,
    If we choose to purge all instances in a BPEL Domain..BPEL console shows a message that ALL INSTANCES IN BPEL SERVER will be deleted, so does that mean the instances in other BPEL DOMAINS will also be deleted.
    Please suggest,
    TIA
    Phani

    Only in the domain. You can also partly purge instances:
    http://orasoa.blogspot.com/2007/03/delete-bpel-instances.html
    http://orasoa.blogspot.com/2007/02/delete-bulk-bpel-instances.html

  • Dehydration - BPEL 10g vs BPEL 11g

    Hi,
    Could you please share information around differences in Dehydration Mechanism in BPEL 10g and BPEL 11g (wrt to functioning, schema, and other imp parameters)?
    Thanks & Regards,
    chaitanya

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • Invoke BPEL 10g process by Java client code deployed in WebLogic 10.3.3

    Hi,
    I have a problem with the use of JNDI factory While invoking BPEL 10g process using client code deployed in WebLogic 10.3.3.
    Should it be "com.evermind.server.rmi.RMIInitialContextFactory" or "weblogic.jndi.WLInitialContextFactory"?
    (Should the JNDI factory follows the container of BPEL server or the container of client code?)

    BPEL server from SOA Suite (10.1.3.3.1)
    Client code which invokes the BPEL process deployed in WebLogic 10.3.3

  • Oracle BPEL 10g - Recovering Callback Instances

    Hi,
       I have a couple of BPEL Processes deployed in my oracle 10g BPEL domain. Of these two BPEL Processes get stuck and stays in Recover Callback option. I have to do a manual recovery from here.Could someone let me know the cause of this issue and solution, if any
    Thanks,
    Balaji

    Hi,
    It is due to there could be some issue in the bpel process. Place the dehyadration activity each invoke then check the audit trail instances u will know where the processes execution has been stopped?
    regards,
    Sri.

Maybe you are looking for