Datasource pool prefill does not run at JVM start in JBoss EAP 7.1

Solution Verified - Updated -

Issue

  • Using min-pool-size and prefill

            <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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content