Monday, November 9, 2009

com.oracle.bpel.client.delivery.ReceiveTimeOutException

Problem:
nested exception is:
com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is bpel://localhost/default/HelloWorld~1.0. Please check the process instance for detail.

Thoughts:
Above mentioned error come if the "syncMaxWaitTime" setting is set too low. So the processes which exceeds this limit get this error.

"syncMaxWaitTime" is the delivery result receiver maximum wait time. It is the maximum time the process result receiver will wait for a result before returning. The default is 45 seconds.

Solution:
"syncMaxWaitTime" can be updated via BPEL Control:
1) Log on to the BPEL console.
2) Click on Manage BPEL Domain.
3) Click on Configuration.
4) Edit the syncMaxWaitTime setting. For long running processes, this can be increased to 1800.

You can also modify this by navigating on SOA Server for this location:
<SOA_HOME>/bpel/domains/default/config/domain.xml.

First stop the SOA Server. Now goto the above mentioned location and search for . Edit the attribute by increasing the time. Now restart the SOA Server.

Cheers...

File Adapter: File Age parameter usage

Problem:
What is the function of using File Age parameter in File Adapter?

Solution:
When user sets ‘File Age’ parameter in File Adapter wizard, then the BPEL will wait for ‘File Age’ time, before it first polls for a file.
This option is especially useful, when the source file is large and takes some time for an external application to completely write finishing the source file. If this is not done then there is a chance that incomplete source file may be picked up for processing by BPEL.
The actual value to be set for ‘File Age’ is decided upon the file size and the time it roughly takes to completely copy in to source folder for BPEL to pick up.

APPS Adapter fails to open Object Module Browser

Problem:
In JDeveloper 10.1.3.3, if APPS Adapter fails to open Object Module Browser to show all available APIs/ XML Gatewys/ PL/SQLs etc.?

Solution:
To make this work, please follow the below mentioned steps:
1) Close your Jdeveloper if its open.
2) Navigate to <JDEV_HOME>/jdev/bin
3) Open jdev.conf and go till end
4) Add this line to the file:
AddVMOption -Duser.language=en
AddVMOption -Duser.region=us
5) Save and start your Jdeveloper

Now when the Apps Wizard prompt you to create the irep file, choose Yes, and let it finish to create the irep file. This going to take some time. At the end a successful message will be shown along with the directory in which the irep file was created. After this window, choose Next and try to open the Apps Module Browser. This will show all the available APIs/ XML Gatewys/ PL/SQLs etc.

Cheers....