Bug 55343 - Add flag to ignore exceptions while creating initial pool
Add flag to ignore exceptions while creating initial pool
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool
All All
: P2 enhancement (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2013-08-02 06:05 UTC by Mikhail Mazursky
Modified: 2013-09-04 09:02 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Mazursky 2013-08-02 06:05:03 UTC
I want my initial pool to be of some size i.e. not empty AND start even if it fails to create all or some of connections.

If pool fails to create initial connections for some reason it just throws exceptions. To workaround that I have to set initial pool size to 0.

It can be handy to add a flag to ignore (just log them) exceptions that occur while creating initial connections.
Comment 1 Keiichi Fujino 2013-09-04 09:02:17 UTC
Fixed in trunk and 7.0.x and will be included in 7.0.43 onwards.