tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrik Andersen <>
Subject RE: Cannot load JDBC driver class 'null'
Date Thu, 10 Oct 2002 18:40:53 GMT

Thanks for your help. The changes you suggested worked :-)


-----Original Message-----
From: echambe1@TXU.COM [mailto:echambe1@TXU.COM]
Sent: 10. oktober 2002 14:44
To: Tomcat Users List
Subject: Re: Cannot load JDBC driver class 'null'


If you are going to use the Global Resources, there are a few changes I
have noted with
the Tomcat 4.1.x.

  You no longer have to  put a ResourceRef tag in the web.xml file
  You need to put a ResourceLink tag within the Context tag of the
application in the server.xml.

Also, if you are putting the database resources in the global resources,
you do not need
to identify the factory to use since Tomcat will automatically default to
the Apache
Commons DBCP.

If you place the databse resource inside the context definition, then you
will have to
define the factory to use if you want DBCP and will have to place a
ResourceRef Tag
in the web.xml

Hope this helps,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message