How to turn off Periodic Recovery for a Resource Adapter in JBoss

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Fuse Service Works (FSW) 6.0.0
  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • no-recovery as defined in:
    • jboss-as-datasources_1_0.xsd
    • jboss-as-datasources_1_1.xsd
    • jboss-as-resource-adapters_1_0.xsd
    • jboss-as-resource-adapters_1_1.xsd

Issue

  • How to turn off Periodic Recovery for a Resource Adapter in JBoss

Resolution

set no-recovery="true" similar to [1] in the standalone|domain.xml configuration when defining the recovery element of the resource adapter.

[1]

<resource-adapters>
  <resource-adapter id="<resource adapter>.rar">
...
    <connection-definition>
...
    <recovery no-recovery="true">
    </recovery>
...
    </connection-definition>
...

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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