: Troy Campano; [EMAIL PROTECTED]
Subject: RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!
Greetings,
I find a way of put it to work (tested on 4.0.4, 4.1.2).
I put the Resource inside a *DefaultContext*. I couldn't put it to
work inside a specific context or even through a resourceLink
.
-Original Message-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:57 PM
To: Tomcat Users List
Cc: Troy Campano; [EMAIL PROTECTED]
Subject: RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!
Greetings,
I find a way of put it to work (tested
Pedro,
You need javax.sql - that is the package containing DataSource.
Your Resource type should be: type=javax.sql.DataSource
You need these parameters in addition to url, username and password:
parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
Greetings,
Eric, I'm getting a javax.naming.NameNotFoundException: Name jdbc is
not bound in this Context exception!
I have a resource link inside my context (no resource here or
resource-ref in web.xml):
resourceLink name=jdbc/ngincaredb
global=jdbc/ngincaredb_global
To: Tomcat Users List
Subject: RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!
Greetings,
Eric, I'm getting a javax.naming.NameNotFoundException: Name jdbc is
not bound in this Context exception!
I have a resource link inside my context (no resource here or
resource-ref in web.xml
-
From: Pedro Salazar [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 9:12 PM
To: Tomcat Users List
Subject: RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!
Greetings,
Eric, I'm getting a javax.naming.NameNotFoundException: Name jdbc is
not bound in this Context