RSS

Debugging Oracle BPM and Events (Oracle EDN)

08 Aug

We are using Oracle EDN events to communicate between Oracle BPM instances and from the Oracle ADF tasks to Oracle BPM. We use the correlation configuration to make sure the events arrive at the correct instances.

We had our share of problems with events during our project and it often took us some time to debug it. Since documentation is scattered across blogs, support sites and some manuals to configure the whole setup. The documentation about debugging your problems is very thin.

1. Check EM logging (duh)

All event steps are logged and the Enterprise Manager ECID (Execution Context ID) can help you detect what is going wrong.

2. Use Oracle Enterprise Manager’s ability to check the Business Events:

right click soa-infra and voila: Business Events! It shows an overview of registered events, amounts, subscriptions and is also the place for recovery of your events,

EM_EDN_small

3. Check your Oracle BPM project project_properties.wsdl file

This file contains the alias settings for your event correlation. In one case we had a “corrupt” file holding old alias settings which caused problems. Our file contained old correlation configurations and old variables.

Correlation definition not registered.
The correlation set definition for operation {http://schemas.oracle.com/events/edl/ZaakAuditEvent}ZaakAuditEvent, process myPartition/myBPMprocess!1.0*soa_e2845e50-44d9-4272-ba3d-47657fcfd9b7/myBPMprocess, is not registered with the server.

The correlation set was not defined in the process. Redeploy the process to the container.
ORABPEL-03802

and this message:

cannot find the property alias {someAlias} the message type {someType}
The property alias named in the error message was not defined in the BPMN/WSDL source. Check the BPMN/WSDL source to ensure that the property alias named in the error message had been defined. ORABPEL-03812

EM_LOG_small

4. Use the EDN DB logging servlet

As explained by the Oracle A-Team here. EDN comes with a EDN DB logging servlet to view logging information generated by the EDN component. It is located here:
http://<hostname&gt;:<port>/soa-infra/events/edn-db-log

Oracle EDN DB log

5. Examine the EDN database tables

Also explained by the Oracle A-Team in their blogpost. The 2nd option is to check the Oracle SOA-INFRA database tables EDN_EVENT_QUEUE_TABLE and EDN_OAOO_DELIVERY_TABLE. We had our portion of stuck event records in these tables, which apparantly block all other events as well.

References:

About these ads
 
2 Comments

Posted by on 08-08-2013 in BPM, EDN, EM, Oracle

 

Tags: , , ,

2 responses to “Debugging Oracle BPM and Events (Oracle EDN)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 355 other followers

%d bloggers like this: