Now, after much reading, I still haven't found an explanation or a fix for
my other nagging problem. When the application starts up, an error is
thrown as follows:
error getting data source java:comp/env/jdbc/XXX -- chained exception
is:
Name jdbc is not bound in this Context
A. Richman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 10:08 AM
To: [EMAIL PROTECTED]
Subject: Microsoft SQL Server 2000 Driver for JDBC Errors
I am trying to use the JDBC driver with Apache Tomcat 4.0 (JDK 1.4).
Here is
my context configuration for the Datasource from server.xml
I am trying to use the JDBC driver with Apache Tomcat 4.0 (JDK 1.4).
Here is
my context configuration for the Datasource from server.xml:
Context path=/admin docBase=admin debug=0 privileged=true
Resource name=jdbc/DremiaDS auth=SERVLET
type=javax.sql.DataSource/
ResourceParams
I get the followin error while trying to access the jdbc
Here are the values entered in server.xml
Resource name=jdbc/chanDB auth=SERVLET
type=javax.sql.DataSource/ ResourceParams
name=jdbc/chanDB
parameternameuser/namevaluehaha/value/parameter
Have you registerd your driver with drivermanager?
Either you can do it explicitly by DriverManager.registerDriver(Driver
driver) or by calling, Class.forName(driver).