"oracle.bam.adapter.adc.ADCManagedConnectionFactory.getCachedConnection" Stuck Threads while Using BAM Adapter when BAM Server is Down (Doc ID 1564113.1)

Last updated on JANUARY 04, 2016

Applies to:

Oracle SOA Platform - BAM (Business Activity Monitoring) - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.5.0 version, BAM Analysis Engine

When BAM Adapter is configured without batching mode and if the BAM Server is down, calls made from the BAM Adapter through a BPEL Process are getting stuck with the below trace

ERROR
-----------------------

  -- Blocked trying to get lock: java.lang.String@1407399e[fat lock]
  oracle.bam.adapter.adc.ADCManagedConnectionFactory.getCachedConnection(ADCManagedConnectionFactory.java:490)
  oracle.bam.adapter.adc.ADCInteraction.execute(ADCInteraction.java:170)
  oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:146)
  oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:519)
  oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
  oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
  oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:228)
  oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:107)
  oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:191)
  oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)

 
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Call BAM through BAM Adapter from BPEL
2. Disable batching in BAM Adapter (Default)
3. Stop the BAM Server and all calls to BAM will get stuck.


Changes

 The product is working as designed. When the BAM Server is down the BAM Adapter will retry the connection to the BAM server.

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