By default the Oracle BPM engine (Business Process Management) is configured so it won’t publish events to BAM (Business Activity Management). So should you choose to use BAM and use these great dashboards, you have set the DisableActions property to false/empty. Here is how it works to configure BPM to BAM:
- Log in to the Fusion Middleware Control –
- Navigate through the Farm – WebLogic Domain – select the domain and then select the Server in which BPM is running (soa_server1 in a default install)
- Use the WebLogic Server dropdown menu as shown in the first screenshot
- Select the System Mbean browser in the menu
- Expand the folder ans shown in the second screenshot:
Application Defined MBeans - oracle.as.soainfra.config - BMNNConfig - bpmn
- Find the DisableActions property and remove it’s value
- Apply the changes
To have the BPM server push events to BAM – Business Activity Monitoring – we have to configure the BPM suite to use the BAM Adapter. The BAM Adapter is configured (like other SOA Suite and BPM Adapters) in the WebLogic Server Console.
Configure BAM Adapter
- In the WLS Console, locate the Domain structure and select Deployments.
- In the Deployments table that is shown, search and click the OracleBAMAdapter (you could filter on type Resource Adapter)
- As shown in the first screenshot: Select the Configuration tab and within that the Outbound Connection Pools tab
- Drill down on the oracle.bam.adapter.adc.soap.SOAPConnectionFactory to
- In the properties tab: fill in the details of the connection to the BAM Server (depending on how you installed it). Remember to acknowledge the changes of each field using the enter key (leaving a field without using the enter key and changes will be lost)
- First time you alter the BAM Adapter you have to create a Deployment Plan. Select the Path to the deployment plan and Save
- Since you need to update the Adapetr now, select it and chose Update
- Choose the option Update this application in place with the new deployment plan changes and click Finish.
BPMN processes created in the BPM Suite can be monitored by standardized dashboard in the BPM workspace. Besides that there a default views to export Oracle BPM metrics to a data warehouse. And there is another option: BAM – Business Activity Monitoring. BAM takes the monitoring of BPMN processes one step further. BAM allows you to create more advanced dashboards and even real-time alerts. BAM enables you to make decisions based on real-time information gathered from your running processes. With BPMN processes you can use the standard Business Indicators that the BPM Suite offers you and use them to with BAM without much extra effort. However you have to enable BAM in BPM processes.
- In the BPM Project Navigator right click the BPM project
- Select Project Preferences
- In the Category tree, select Process Analytics Summary
- Click the Data Targets tab
- Check the Enable BAM checkbox
- Select the JNDI name of the BAM Adapter labeled as
- Click OK
When you run a process that has Oracle BAM enabled the BPMN Service Engine populates Oracle BAM database with information about the business indicators measured in that process. The BPMN Service Engine generates this information based on the Sampling Points preference you defined in your project.
Also read the blog post on how to configure your SOA server to know where your BAM server is running. This is also needed to use BAM for BPM metrics.
The Why move to SOA Suite 11g blog post, showed me that one of the important benefits of the OFM 11g release slipped to the back of my head… Pat Shepherd actually throws in a bonus – 11th reason:
BAM has been rewritten entirely in Java offering platform choice and better performance
From the integration point of view it is great that BAM is now available on the J2EE stack (instead of MS ISS). This will lower the costs for companies that want to use BAM besides the SOA Suite. Not only brought this down the requirements for the machine it is running on (I was able to run BAM server besides the rest of the SOA stuff and JDeveloper on my laptop – although it wasn’t the most performant system ever witnessed). Besides that the cost of managing the platform will be lower since there is only one type of application server involved.
MS is still needed for BAM…
For those who want to get rid of MS asap, there is sad news: Microsoft Internet Explorer is still needed in this release. This is due to the fact that al those great graphs that can be created, use
ActiveX controls VML (Thanks Sanjay). VML is a Microsoft and Macromedia specific XML language to produce vector graphics. The open standard for vector graphics is SVG (W3C SVG home).
The BAM User Guide can be found here. Beside the documentation there are already some interesting blogposts on BAM in 11g Release 1 available.
As a last word I’d like to add that with the 11g release of BAM i’m much more comfortable with putting BAM into play at a customers site.
Mid 2012 update
As the screenshot below shows BAM still requires IE 7 or 8 as stated in eg the SOA Suite Quickstart Guide:IE 7 without special plug-ins (there’s a Pro-search plug-in and Microsoft Internet Explorer Knowledge Base Update (KB2416400) that causes problems); IE 6 has a few UI issues. Firefox does not work.
There are a few workarounds available:
- In Windows you could use an IE plugin for FireFox or Chrome
- You could expose Oracle BAM data using an ADF Data Control – “Using the new Oracle BAM data control, ADF developers can build highly dynamic web-based applications that embed business information pushed in real-time from Oracle BAM Server” In this scenario you have to code the GUI…
So the statement still is:
Browser independent functionality is on our roadmap for a major release in the future.