How to add recovery-plugin-properties in datasource using CLI
Issue
- 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.
/subsystem=datasources/xa-data-source=test-xa-datasource/recovery-plugin-properties=EnableIsValid:add(value=false)
- When added manually below configuration. It was able to read back via CLI successfully:
<recovery>
<recover-plugin class-name="org.jboss.jca.core.recovery.ConfigurableRecoveryPlugin">
<config-property name="EnableIsValid">
false
</config-property>
<config-property name="IsValidOverride">
false
</config-property>
<config-property name="EnableClose">
false
</config-property>
</recover-plugin>
</recovery>
Environment
- 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.