How to add recovery-plugin-properties in datasource using CLI

Solution Verified - Updated -


  • While trying to automate a XA datasource creation via CLI scripts the following statement consistently fail. However when adding it manually inside the configuration file, JBoss was able to read it back via CLI correctly.
  • When added manually below configuration. It was able to read back via CLI successfully:
        <recover-plugin class-name="org.jboss.jca.core.recovery.ConfigurableRecoveryPlugin">
            <config-property name="EnableIsValid">
            <config-property name="IsValidOverride">
            <config-property name="EnableClose">


  • Red Hat 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