Bug 56789 - DataSourceProxy.getPool() returns NULL when pool is not started
Summary: DataSourceProxy.getPool() returns NULL when pool is not started
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 20:50 UTC by Bertrand Renuart
Modified: 2014-08-07 23:29 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Renuart 2014-07-29 20:50:59 UTC
The method DataSourceProxy.getPool() returns null if the pool is not started instead of lazily initialise the pool like the other methods.

Can't the method simply be rewritten to return the result of the "createPool()" method ?
Comment 1 Filip Hanik 2014-08-07 23:29:17 UTC
Fixed in r1616629