[
https://issues.apache.org/jira/browse/DBCP-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619934#comment-17619934
]
Phil Steitz commented on DBCP-587:
----------------------------------
GenericObjectPool has no initialSize parameter. You need to do what
BasicDataSource does to pre-load the pool, which is to call
objectPool.addObject initialSize times to get the initial instances created.
Alternatively, since you have set minIdle, you can call GOP's preparePool
method which will create 4 instances.
It would be great to either summarize the discussion here or post a link back
to your question on commons-user.
> DBCP and Transparent Application Continuity
> -------------------------------------------
>
> Key: DBCP-587
> URL: https://issues.apache.org/jira/browse/DBCP-587
> Project: Commons DBCP
> Issue Type: Bug
> Affects Versions: 2.9.0
> Reporter: Kirk Hill
> Priority: Major
>
> Oracle databases have a high-availability setup that uses an item called
> Transparent Application Continuity. It requires using the following driver
> class name for "oracle.jdbc.replay.OracleDataSourceImpl" When I attempt to
> use this driver I get the following error message.
> SQLException occurred : Cannot create JDBC driver of class
> 'oracle.jdbc.replay.OracleDataSourceImpl'
> Having this as a way to create connection pools would greatly enhance your
> product.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)