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-03-06 16:44:11
From:   anonymous2
I can get my datasource (Sybase) to work fine using JNDI in Tomcat4 when I define the resource in the Context of a single web application.


I get this error when I try to define the resource in the GlobalNamingResources area though.


I'm using the same Resource info, just moved it from the Context to GlobalNamingResources.


Any thoughts?

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Cannot load JDBC driver class 'null'
    2003-08-06 06:58:56  anonymous2 [View]

    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