What are the default values for datasource validation settings in JBoss EAP
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4
- 5
- 6
- 7
Issue
- What are the default settings for
validate-on-matchbackground-validationbackground-validation-millisbackground-validation-minutes
Resolution
Default values have changed across releases.
EAP 4.3
jboss-as/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
validate-on-matchtrue
background-validationfalse
background-validation-minutes10
EAP 5.2
jboss-as/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
jboss-as/connector/src/main/org/jboss/resource/deployers/management/DsDataSourceTemplateInfo.java
validate-on-matchtrue
background-validationfalse
background-validation-millis0
background-validation-minutes10(deprecated forbackground-validation-millis)
EAP 6 / 7
<src>/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Constants.java
validate-on-matchfalse- effected by Content from issues.jboss.org is not included.AS7-6368 addressed for EAP 6.0.1 via a This content is not included.patch. Included in 6.1.1+
background-validationfalse
background-validation-millis
-0
See Also
Components
Category
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.