I've read through Ch.5 of the J2EE 1.3 spec, looked at the Servlet 2.3 spec, and poked around in the Tomcat docs. I'm not finding an answer to this question: How and where do I specify the signon information necessary to create a proper DataSource object so that I can connect to my DB? I have a Tomcat 4.0b7 running along with MySQL. I have/will created JDBC 2.0-derived classes to provide me with a DataSource for the MySQL db. I understand how to specify a <resource-ref> in the web.xml file and I know how to call InitialContext.lookup() to get a reference to the DataSource. According to the J2EE 1.3 spec (J2EE.5.4.2, last paragraph), how and where the specifics of creating a DataSource is up to the "container and resource manager". Is there documentation on how I specify this in Catalina? TIA, ------------------------------------------------------------ Roderick Mann rmann @ latencyzero.com.sansspam
