Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Probs with interclient 0.9

0 views
Skip to first unread message

Dirk Henckels

unread,
Jun 4, 1997, 3:00:00 AM6/4/97
to

hi,

have a very hard problem with borland interclient database driver 0.9
and java jdbc.
i try to connect to a interbase database with an applet, interclient
driver and interserver. when i start my applet locally under hotjava1.0
on the machine which runs the web server, the interserver and the
interbase server, then all things do all right. when i start my applet
on any client machine instead, an exception occurs. under netscape
communicator pr4, the same exception occurs. below are a snippet of my
program source and the (more detailed) messages of the hotjava browser.

funny enough, my applet runs with interclient driver 0.71 and 0.8 but
not with the newer version 0.9. i am in urgent need of help because the
former versions are expired and this saturday my applet is needed in a
presentation. so i appreciate any help very much....

many thanks,

gabi.

------> error messages from the hotjava browser 1.0:
-- at the first click on the applet after launching the hotjava browser:

Exception occurred during event dispatching:
java.lang.VerifyError: borland/interclient/Connection
at java.lang.ClassLoader.resolveClass(ClassLoader.java:246)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:323)

at borland.interclient.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:91)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at KompMaske.start_datenbank(StartApplet.java:720)
at KompMaske.K_start(StartApplet.java:444)
at StartApplet.mouseDown(StartApplet.java:88)
at java.awt.Component.handleEvent(Component.java:1948)
at java.awt.Component.postEvent(Component.java:1562)
at java.awt.Component.dispatchEventImpl(Component.java:1454)
at java.awt.Container.dispatchEventImpl(Container.java:833)
at java.awt.Component.dispatchEvent(Component.java:1382)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)

-- at any subsequent click on the applet:
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
at java.lang.ClassLoader.resolveClass(ClassLoader.java:246)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:323)

at borland.interclient.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:91)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at KompMaske.start_datenbank(StartApplet.java:720)
at KompMaske.K_start(StartApplet.java:444)
at StartApplet.mouseDown(StartApplet.java:88)
at java.awt.Component.handleEvent(Component.java:1948)
at java.awt.Component.postEvent(Component.java:1562)
at java.awt.Component.dispatchEventImpl(Component.java:1454)
at java.awt.Container.dispatchEventImpl(Container.java:833)
at java.awt.Component.dispatchEvent(Component.java:1382)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)program
source snippet:

-----> now the StartApplet source that is executed after any mouse click
(line 720 is the last one):
try
{
Class.forName("borland.interclient.Driver");
}
catch (ClassNotFoundException e)
{
System.out.println ("problem with db driver: " + e);
}

String dburl = "jdbc:interbase://122.139.163.87/";
dburl = dburl + "C:/my/full/path/and/file.gdb";

try
{
connection1 = DriverManager.getConnection(dburl,
"sysdba","verysecretpassword");


0 new messages