Connecting to Interbase with interclient
843854Apr 16 2002 — edited Apr 24 2002Hi, i'm trying to get a connection with a interbase database with interclient via interserver.
I try it with the "DriverExample" which was included with the interclient prog.
First i had interclient 2.0, but then i had an error "Exception in thread "main" java.lang.VerifyError"
I wrote that this problem solves when i use interclient 2.5.....
Now i did that but i get another error:
_______________________________________
when running it in dos>>
C:\>java DriverExample
Exception in thread "main" java.lang.NoClassDefFoundError: DriverExample
_______________________________________
when testing it with IC-Communication Diagnostics:
InterClient Release: 2.50.5, Client/Server Edition
InterClient compatible JRE versions: 1.3
InterClient compatible IB versions: 6
InterClient driver name: interbase.interclient.Driver
InterClient JDBC protocol: jdbc:interbase:
InterClient JDBC protocol version: 25005
InterClient expiration date: 30-dec-10
An expired InterClient will not cease to function, rather
a suggestion to upgrade will be posted as a SQLWarning
for connections established after the expiration date.
Testing database URL jdbc:interbase://localhost/c:/employee.gdb.
***** Error or Exception Occurred *****
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.io)
***** Installation problem detected! *****
__________________________________________
My classpath looks like this:
c:\jdk1.3.1_02\lib\tools.jar; c:\data\MYSQL_BOTH_COMP.JAR;C:\Program Files\InterBase Corp\interclient2.5\interclient.jar;
__________________________________________
Is the classpath not good? or is it something else??
Please help me i'm going crazy!!!
You can have a few duke's if you can help me..
your's sincerely,
Tim Groothuis
tim@terror.nl