Return to Snippet

Revision: 11159
at January 26, 2009 19:15 by vasilije


Initial Code
<!--  META-INF/context.xml -->
<?xml version="1.0" encoding="UTF-8"?>
 <Context path="Products"> 
    <Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/ProductData" password="developer" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/product_entry?autoReconnect=true" username="developer"/>
</Context>
 
<!--  WEB-INF/web.xml -->
  <resource-ref>
    <description>Database for IFPWAFCAD application</description>
    <res-ref-name>jdbc/ProductData</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>

Initial URL

                                

Initial Description

                                

Initial Title
tomcat mysql jndi connection pool

Initial Tags
mysql, java

Initial Language
XML