Women in Technology

Hear us Roar



Article:
  Creating a Web Application with Ant and Tomcat 4
Subject:   Cannot load JDBC driver class 'null'
Date:   2003-08-06 06:58:56
From:   anonymous2
Response to: Cannot load JDBC driver class 'null'

Have you made a resource link from your application context to the global naming resource?


ie
<Context...>
...
<ResourceLink name="jdbc/TestDB" global="jdbc/GlobalDB" type="javax.sql.DataSource" />
...
</Context>


//Rackarn

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Cannot load JDBC driver class 'null'
    2003-08-22 15:26:50  anonymous2 [View]

    Thank you. I've been all over sites looking for this. Everybody has you jumping through hoops trying to locate your JDBC library when that is not the problem. The Tomcat admin utility should state that the context needs to be linked to the global resource when the connection pool is created.