BPEL / EJB ADAPTER PERFORMANCE ISSUE (Doc ID 1391299.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Platform - Version 11.1.1.4.0 to 11.1.1.6.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

Scenario 1:
Synchronous BPEL process invoking the same EJB several times. Diagnostics indicate that BPEL appears to be blocking on calls to the EJB. The EJB itself is performing fine (tried with a separate EJB Client) , but when under load there seems to be contention between BPEL processes making ready to call the EJB (stateless). Having this tested with 600 BPEL instance thus spawning 4200 invocations of the EJB. Looking at the thread dump, there seems to be heavy lock contention because each request seems to be invoking the JAXB classloader. This will obviously not scale and will also have a latency overhead even on a single threaded basis.

Scenario 2:
When performing load testing on bpel processes that use SCA to invoke java classes, it can be seen contention on the engine and invoke thread pools. Performance is poor, and the instance cannot take advantage of the available CPUs.

Contention appears using default values of the invoke thread pools (20 threads) and the engine thread pools (30 threads). CPU use do not exceed 40% (20% per instance)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms