Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 15 Aug 2002 @ 17:02:21 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


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]



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016