This article outlines how to configure a data source configured in a *-ds.xml file to attempt to reconnect automatically if the connection is lost. This does not apply to data sources configured in the Admin Console.
<JBOSS_HOME>/standalone/deployments
<xa-datasource>
<validation> <validate-on-match>true</validate-on-match> <background-validation>false</background-validation> <check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql> </validation>
<validation> <validate-on-match>true</validate-on-match> <background-validation>false</background-validation> <check-valid-connection-sql>SELECT GETDATE()</check-valid-connection-sql> </validation>
This article applies to all versions of Appian using JBoss as an application server.
Last Reviewed: July 2017