web.xml - Apache Tomcat (ExpertCTStudio)

File Location: <Tomcat-Installed-Folder>/conf/web.xml

The data source of the application deployment descriptor is defined in this file.

The following snippet provides the sample values of the necessary elements and attributes that are to be configured within web.xml:

<resource-ref> 
	<description>CT ExpertStudioDataSource</description> 
	<res-ref-name>jdbc/ExpertStudio</res-ref-name> 
	<res-type>javax.sql.DataSource</res-type> 
	<res-auth>Container</res-auth> 
	<res-sharing-scope>Shareable</res-sharing-scope> 
</resource-ref> 

<resource-ref> 
	<description>CT ExpertStudioTarget</description> 
	<res-ref-name>jdbc/ExpertStudioTarget</res-ref-name> 
	<res-type>javax.sql.DataSource</res-type> 
	<res-auth>Container</res-auth> 
	<res-sharing-scope>Shareable</res-sharing-scope> 
</resource-ref>