Archives of the TeradataForum
Message Posted: Thu, 15 Aug 2002 @ 17:02:21 GMT
Subj: | | Teradata JDBC Sample Applet Problem |
|
From: | | McBride, Michael |
I'm trying to run the sample applet1.html that came with the TeraJDBC installation following the install and test notes that have come
with the documentation: I made a directory called docs on the c: drive, added a directory called classes and added the applet1*.class files
and the teradata.jar file.
This is what I get...
Applet1.html: Error Message
Unable to load the Teradata JDBC driver.
java.lang.ClassNotFoundException: com.ncr.teradata.TeraDriver
JAVA CONSOLE
Using JRE version 1.3.1_04 Java HotSpot(TM) Client VM
User home directory = C:\WINNT\Profiles\mcbridem Proxy
Configuration: Manual Configuration Proxy: pit-proxy01:80 Proxy
Overrides: ----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------
java.lang.ClassNotFoundException: java.io.FileNotFoundException:
C:\docs\classes\com\ncr\teradata\TeraDriver.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method) at
java.io.FileInputStream.(Unknown Source) at
sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) at
sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source) at
sun.applet.AppletClassLoader.access$100(Unknown Source) at
sun.applet.AppletClassLoader$1.run(Unknown Source) at
java.security.AccessController.doPrivileged(Native Method) at
sun.applet.AppletClassLoader.findClass(Unknown Source) at
sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.applet.AppletClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClassInternal(Unknown Source) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Unknown Source) at
applet1.init(applet1.java:171) at sun.applet.AppletPanel.run(Unknown
Source) at java.lang.Thread.run(Unknown Source)
Anyone out there know the problem??
[McBride, Michael]
|