Oracle BPEL - Wait Activity Stuck or Hanging - Never Returns to Console

By M&S Consulting (Ashok) on May 3rd, 2008
Filed Under Technical Tips // Tags:

This is a very, very common complaint I hear from Oracle BPEL developers, testers, and production support.

I find there are a couple reasons that this can happen:

1. The flow has faulted sometime after the wait activity, but never dehydrated again, so it appears to be “stuck” on the wait activity. Put in some more waits to force dehydration soon after your “problematic” wait to ensure the wait really isn’t your issue.

2. In 10.1.3, the default wait in JDev is set to 1 day; please, be sure to set your wait times properly.

3. The flow really is just waiting too long. Oracle advertises the wait time as a “minimum”. You may want to increase the number of threads you have running for your scheduler.

  • Stop your application server
  • Take a backup copy of the following file:

    \bpel\domains\[domain-name]\config\resources-quartz.properties
  • Change the resources-quartz.properties file:

    com.oracle.bpel.expirationAgent.threadCount is defaulted to 10. You can increase this to 50 or 100, or more depending on your load.
  • Restart the application server

Please, drop us a quick comment below if this helps.

Bookmark and Share

Related Information:

  1. Asynchronous vs Synchronous BPEL Processes
    Asynchronous and Synchronous BPEL processes, as their names imply, process a request in parallel or sequenctially respectively. Screenshot: Invoke Asynchronous...
  2. Oracle SOA Environment Performance Tuning Options - Quick Notes
    Tuning OAS and BPEL Console....
  3. JDeveloper Freezing - Optimize Performance for Large BPEL Flows
    I was running into issues with my Jdev being inadequately slow, hanging, or freezing when working with large BPEL process...
  4. Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective
    This article is a look at Oracle’s BPEL Sensor approach to publishing real time data and events for in flight...
  5. Oracle AS: Undeploying Multiple Applications (including BPEL Human Tasks)
    Undeploying a single application in Oracle Application Server is pretty straightforward. However, I had a scenario where I needed to...
  6. Oracle BPEL Email Notification - Remove Attachment
    If you have used the email notification activity in Oracle BPEL (up through the latest version at the time of...
  7. Oracle BPA -> BPEL Manual Configuration Items
    Oracle BPA does a great job importing into BPEL, but here are a few items that need to be manually...

Leave a Reply


Archives

Recent Comments

  • Tony Hale said: What a great resource these videos are! These are all very helpful. Anything you can do to popularize...
  • Mohammed said: Hello, Thanks for the tutorial, but I’ve noticed that the link isn’t setup right,...
  • shekar said: thanks mate, you saved my day… the link is still working….
  • romit said: thnx a lot.. i had been searching for this link from last 4 days. and was just about to quit my search...
  • Ram said: By the way, FB 4 includes both SDK 4 and 3. Therefore if you are looking for FB 3, download FB 4 and point...

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930  

Featured Testimonial

"M&S has taken 'partnership' to a new level. They are not only a deeply skilled service provider, the M&S team is actually a mission critical component to our operations, taking on new initiatives as well as maintaining custom, open source, and COTS solutions."

CEO, MedPivot

Free SQL Service