Did you define a JDBC datasouce in JRUN? If not, open up your JRUN Admin
Server, select your default server -> JDBC DataSources, and define your new
JDBC datasource. Make sure that you also set the classpath for the jar
files in your JRUN default AND JRUN Admin server. Go to
JavaSettings->Classpath to do this.
Celeste
-----Original Message-----
From: Toby Davis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 02, 2001 1:55 AM
To: JRun-Talk
Subject: JDBC Connect classpath problem
Using JRun 3.0sp2 Developer Edition, win 2k, with Merant's latest JDBC
Connect driver for SQLServer 7/2k, I keep getting "No valid JDBC driver is
specified" when trying to create a JDBC Data Source in Default Server's JMC.
Also, if I explicitly call a Class.forName("driver") in a servlet or jsp
using JRun as the container, it cannot find the driver class.
Note that I did put the paths to the three Merant jar files (base.jar,
util.jar, sqlserver.jar) explicitly in both the system CLASSPATH and the
Classpaths in the JMC Java Settings (Admin and Default servers).
Also note that my driver and URL string (as well as username/password)
connect fine in an outside Java application (not going through JRun) and
also through Merant's JDBCTest.
Help! Thanks.
TD
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists