Threads Wait for XA Connections in the Pool

(Doc ID 444521.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms

The system is using two connection pools, one with XA connections and one with "ordinary" connections. A test is performed with 30 concurrent web clients but there is no load on the server for several minutes and there are no connections to the Oracle database in use. All threads seem to be waiting for something. After a couple of minutes, things start to happen. Clients get on with their work until the system seems to freeze once again (but not for as long this time). The thread dump clearly indicates that the threads are all waiting for a connection from the pool.

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