Thread View: borland.public.datagateway
2 messages
2 total messages
Started by Staffan H�stman
Mon, 15 Mar 1999 00:00
problems using paradox database. IT HAS TO BE EASY!!
Author: Staffan H�stman
Date: Mon, 15 Mar 1999 00:00
Date: Mon, 15 Mar 1999 00:00
15 lines
1363 bytes
1363 bytes
Hi! I'm developing an applet which will connect to a remote database on one of our servers (I'm working for an ISP). I'll be using Datagateway server to connect to the paradox database. Currently at the developing stage I've got Datagateway installed on my own computer which I specify as the "remote server" when setting up the connection to the database. Setting up the connection works well, so does doing an SQL-query on the data base, all the data shows in my gridcontrol at design time. However, when i run the applet with AppAccelerator i get this weird message:"The driver:borland.Broker.RemoteDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath. Modify the classpath in the project properties." So why does everything work when I'm designing the applet but not when I'm running it?
Re: problems using paradox database. IT HAS TO BE EASY!!
Author: John B. Moore
Date: Tue, 16 Mar 1999 00:00
Date: Tue, 16 Mar 1999 00:00
26 lines
1403 bytes
1403 bytes
In article <7citd5$1fg8@forums.borland.com>, Staffan H�stman wrote:
> So why does
> everything work when I'm designing the applet but not when I'm running
> it?
The problem is probably one of deployment of the datagateway.zip
classes..
You might have to change your query descriptor and add:
Class.forName("borland.jdbc.Broker.RemoteDriver" );
Some VM need this instead..
borland.jdbc.Broker.RemoteDriver driver = new
borland.jdbc.Broker.RemoteDriver();
It seems there is a bug in some JVM implementations, that
forName() does not instantiate class properly.
John...
+++++++++++++++++++++++
TeamB are volunteer helpers. Please do not email replies or questions.
Post or reply only on this newsgroup. Thank you.
=======================
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads