Set the connection url in database configuration xml file. Some thing like,
<parameter> <name>url</name> <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value> </parameter> Refer to this page: http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-examples-howto.html -- Manivannan.Palanichamy (@) Oracle.com http://mani.gw.googlepages.com/index.html On 8/7/07, Will Holmes <[EMAIL PROTECTED]> wrote: > > I am using Tomcat 5.5.9 on Windows XP > I have created a resouce in the Tomcat server.xml file. > I have configured the resource ref in the web.xml file. > > When my application access the datasource I get the following error: > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver > of > class '' for connect URL 'null' > > Anyone have any ideas? > > Thanks in advance!! > > Will Holmes > Programmer Analyst > Fremont Insurance Company > Ph: 231-924-0302 Ext. 145 > E-Mail: [EMAIL PROTECTED] > > -- Manivannan.Palanichamy (@) Oracle.com http://mani.gw.googlepages.com/index.html