Datasource pool prefill does not run at JVM start in JBoss EAP 7.1
Issue
-
Using
min-pool-sizeandprefill<datasource ...> ... <pool> <min-pool-size>10</min-pool-size> ... <prefill>true</prefill> </pool> ... </datasource> - In JBoss EAP 7.0, the connection pool is filled to
<min-pool-size>at JVM start. - In JBoss EAP 7.1, the connection pool is filled to
<min-pool-size>the first time it is used by an application component. - In JBoss EAP 7.2 and later, the connection pool is filled to
<min-pool-size>at JVM start.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.