Does JBoss EAP cache DNS lookups for database connections

Solution Unverified - Updated -

Issue

Our design for database failover from one site to another being achieve by changing the DNS value of our Database IP.

If we have a postgres datasource setup in EAP and we change the underlying DNS entry will the Datasource create new connections using the current value of the DNS or is the DNS ip configuration cached at startup?

Environment

  • JBoss Enterprise Application Platform (EAP)

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