This chapter describes for administrators how to configure the BPMN process service engine, including configuring properties used by the engine during processing of BPMN service components.
This chapter includes the following sections:
Section 39.1, "Configuring BPMN Process Service Engine Properties"
Section 39.2, "Integrating Oracle BPM with Oracle Business Activity Monitoring"
For more information about BPMN process tuning and performance properties, see Oracle Fusion Middleware Performance and Tuning Guide.
To configure BPMN process service engine properties:
Access this page through one of the following options:
From the SOA Infrastructure Menu... | From the SOA Folder in the Navigator... |
---|---|
|
|
The BPMN Service Engine Properties page displays properties for setting audit trail and large document thresholds, setting dispatcher thread properties, validating payload schema, and setting the audit trail level.
Make changes to the service engine properties that are appropriate to your environment.
Click Apply.
If you want to configure advanced BPMN properties in the System MBean Browser, click More BPMN Configuration Properties. Properties that display include the following. Descriptions are provided for each property.
AuditDetailThreshold: The maximum size (in bytes) an audit trail details string can be before it is stored separately from the audit trail.
AuditLevel: Controls the amount of audit events logged by a process; currently supported logging levels are: off
: absolutely no logging performed whatsoever; may result in a slight performance boost for processing instances.
BpelcClasspath: The extra class path must be included when compiling BPMN generated java sources.
ConfigMBean: If true, it indicates that this MBean is a Config MBean.
CubeInstanceExpiration: The expiration time in hours of performance data. This parameter is disabled by default. You can enable it.
CubeTimerMaxErrorCount: Maximum allowed number of consecutive errors during cube timer processing. Once number of errors reaches CubeTimerMaxErrorCount
, the cube timer skips processing.
CubeTimerMaxSkipOnErrorCount: Specifies the number of times the timer skips processing once the number of errors reaches CubeTimerMaxErrorCount
.
Note:
Once the cube timer errors out consecutively for CubeTimerMaxErrorCout
times, the cube timer skips the timeout processing for CubeTimerMaxSkipOnErrorCount
times. It then resumes the normal timeout processing. The time for which the cube timer skips processing can be calculated as CubeTimerMaxErrorCount
* CubeUpdateFrequency
.
If the lockout time must be less, you must either reduce the time to a lesser value or change the number of times to skip timeout processing.
CubeUpdateFrequency: Frequency in seconds at which cube action calculates the workload.
CubeWorkloadExpiration: The expiration time for workload records. It is set to 48 hours by default, which means that if a workload record's age is more than 48 hours, it is purged.
DisableActions: Comma-delimited list of disabled measurement actions (such as CubeCommand
, BAMCommand
). Also see PublishMaxTrackBackCount.
DisableProcessTracking: If set to true
, the audit disables process tracking. The default value is false
.
DisableSensors: If set to true
, the service engine disables all calls to sensors. The default value is false
.
DispatcherEngineThreads: The total number of threads that are allocated to process engine dispatcher messages.
DispatcherInvokeThreads: The total number of threads that are allocated to process invocation dispatcher messages.
DispatcherMaxRequestDepth: Maximum number of internal messages the service engine processes. If this number is exceeded, new messages are not dispatched. The default value is 600
.
DispatcherSystemThreads: The total number of threads that are allocated to process system dispatcher messages.
eventProvider: If set to true
, indicates that this MBean is an event provider as defined by JSR-77.
eventTypes: All the event's types emitted by this MBean.
ExpirationMaxRetry: The maximum number of times a failed expiration call (wait/onAlarm) is retried before failing.
ExpirationRetryDelay: The delay between the expiration retries. The default value is 120
seconds.
InstanceKeyBlockSize: The size of the block of instance IDs to allocate from the dehydration store during each fetch.
LargeDocumentThreshold: The maximum size (in bytes) a BPMN variable can be before it is stored in a separate location from the rest of the instance scope data.
MaximumNumberOfInvokeMessagesInCache: Specify the number of invoke messages that can be kept in the in-memory cache, once the service engine reaches this limit, it pushes the message to dispatcher in-memory cache, instead it saves the message in the database, and these saved messages can be recovered using recovery job. Use value -1
to disable this property.
objectName: The MBean's unique JMX name.
OneWayDeliveryPolicy: Changes whether the one-way invocation messages are delivered.
PeopleQueryTimeout: Specify quartz cron expression People Query. People Query in Logical People Group is reevaluated based on this cron expression.
PublishMaxTrackBackCount: Maximum number of records traversed from last audit record, checked for measurement and action enabled and published if so.
QualityOfService: Flag to enable or disable Oracle Coherence cache for BPMN service engine. Use CacheEnabled for enabling Oracle Coherence.
ReadOnly: If set to true
, indicates that this MBean is a read only MBean.
RestartNeeded: Indicates whether a restart is needed.
StatsLastN: The size of the most recently processed request list.
SystemMBean: If set to true
, indicates that this MBean is a System MBean.
UserInitiateProcessCleanupAction : The action to be performed for the cleanup procedure: OFF
(default), ABORT
or DELETE
. OFF
will disable the cleanup process on the next scheduled activation of the process.
UserInitiateProcessCleanupCronExpression : The cron type expression indicates when and how often the cleanup procedure should take place. Any changes to the schedule will take effect on the next scheduled activation of the cleanup process.
UserInitiateProcessCleanupRetentionDays : Only the user-initiated processes older than number of days old
will be processed. Zero is not allowed. Fractions of a day can be specified as a decimal.
UserInitiateProcessCleanupTaskStates : The task states to be considered during the cleanup procedure.
Note:
The UserInitiateProcessCleanup properties support the cleanup of properties created using the initiator task.
ValidateXML: If set to true
, the service engine applies schema validation for incoming and outgoing XML documents. The default value false
.
Version: Version of the configuration file.
WFOracleUcmUrl: Specify a URL for Oracle WebCenter Content repository administration server.
When a BPMN composite application is deployed, the following Oracle BAM data objects are generated automatically:
Data object for the following business indicator:
TEMPLATE_BI_Partition_Composite_Process
Once this is imported, you should rename it to:
BI_DEFAULT_
Compositename
_
ProcessName
This is created in the target folder. If the data object already exists, new columns are added to it, assuming the old columns match data types. Otherwise, an error is thrown.
COMPONENT, INTERVAL, COUNTER data objects if they are not present in the target folder.
The target Oracle BAM Server is specified by JNDI name parameter.
Note:
Data objects can be created only automatically at deployment. You cannot create them manually.
To configure Oracle BPM for use with Oracle Business Activity Monitoring, you perform these tasks:
You must configure the Oracle BAM Adapter to use either SOAP or RMI for communicating with Oracle BAM.
To configure the Oracle BAM adapter on Oracle BPM server:
In the Oracle WebLogic Server Administration Console, under Domain Structure, click Deployments.
Click OracleBAMAdapter > Configuration > Outbound Connection Pools.
Expand oracle.bam.adapter.adc.soap.SOAPConnectionFactory.
Click either eis/bam/soap or eis/bam/rmi.
The JNDI name used to configure the Oracle BAM adapter is used. For example, if you configured the Oracle BAM adapter to use SOAP, then the default JNDI name is eis/bam/soap. Similarly, if you configure the Oracle BAM adapter to use RMI, then the default JNDI name is eis/bam/rmi.
Modify properties to match Oracle BAM Server. (Remember to press Enter after text entry).
Click Save.
Select the location for the deployment plan—for example, bam/Plan.xml
, then complete the dialogs.
Return to Deployments.
Select OracleBAMAdapter.
Click Update and complete the dialogs.
For more information about integrating Oracle Business Activity Monitoring with Oracle SOA Suite composite applications, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite.
To do this task, you use the Oracle Enterprise Manager Fusion Middleware Control.
To enable Oracle BAM on the Oracle BPM server:
In Oracle Fusion Middleware Control, under WebLogic Domain, select your domain and server.
Go to System MBean Browser.
Select oracle.as.soainfra.config > Server > BPMNConfig > bpmn.
Go to Disable Actions. If you find BAMAction there, then clear the field.
Click Apply.