My Oracle Support Banner

Threads Wait for XA Connections in the Pool (Doc ID 444521.1)

Last updated on JULY 13, 2022

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


OC4J is configured to use two connection pools, one with XA connections and one with "ordinary" non-XA 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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.