7.22 Configure Data Source
This section details the configurations required for Data Sources in the OFSAA
applications.
- Create a connection pool in the Information Domain. For more information, see the OFS AAI Release 8.1.2.0.0 Installation and Configuration GuideOFS AAI Release 8.1.2.0.0 Installation and Configuration Guide.
- JNDI name of the connection pool must be <res-ref-name> as mentioned in the web.xml file. For example: jdbc/OFSINFDOM
- Create and deploy the web components into the web server. For more information on deploying the web components, see the OFS AAI Release 8.1.2.0.0 Installation and Configuration Guide.
- The following tag must be added manually in web.xml if not already present in
the web.xml file.
<resource-ref>
<!-- description>DB Connection INFODOM</description -->
<res-ref-name>jdbc/ INFODOM</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>