The ATG platform installation includes an XML file that contains the configurations for all the data sources for each application, along with a JNDI name for each data source. The startup script copies this XML file into the JBoss config directory.

JBoss data sources defined for the agent server must use an XA driver to allow for commits across multiple data sources. JBoss data sources defined for the production server can use a local transaction driver.

To configure the data sources for Service, you must add data sources to the JBoss server deploy directory – <JBOSS_HOME>/server/atg/deploy – on the agent and production servers. This directory is created by the ATG installer.

Note: During development and testing, you might install multiple ATG servers on the same machine. In this case, you must add the data sources to separate directories under the <JBOSS_HOME>/server directory.