My Oracle Support Banner

How To Create A Connection Pool With Attributes Using JMX (Doc ID 470001.1)

Last updated on MARCH 26, 2021

Applies to:

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


How to create a connection pool for an OC4J instance using JMX in OC4J

When creating a new data-source entry by using the OC4J command line tool, one can define a connection pool but no additional properties for this connection pool can be set.
By using JMX, a custom Java application can be coded to use the JMX API to first create the connection pool and then to add the attributes to it, and this note provides some sample Java code on how this can be done.


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.