I am trying to setup MySQL connection pooling in Tomcat 4.1.24 and when
I try and add
 
<resource-ref>
      <description>DB Connection</description>
      <res-ref-name>jdbc/TestDB</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
  </resource-ref>
 
to my web.xml file, it complains that <resource-ref> is not allowed as a
<web-app> element.  Is the documentation accurate?  Or am I missing
something?  Link the documentation I am referring to is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html
 
thanks
 
Gregg

Reply via email to