Does JBoss EAP 6 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) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.