Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


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 DataSource</description>
<res-ref-name>jdbc/ModelHouseCT</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 ImplDataSource</description>
<res-ref-name>jdbc/ModelHouse</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>


  • No labels