configure alternative datasource in EAP 6 ?

Solution Verified - Updated -

Issue

  • Is it possible to configure an alternative datasource with the same jndi name?
  • We have two db to access and when one is down we want to use the same jndi name to invoke db. We don't want to add the second db in the same connection url. Is it possible with EAP 6?

Environment

  • RedHat JBoss Enterprise Application Platform (EAP)
    • 6.x

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