|
-
February 23rd, 1999, 05:31 AM
#1
JDBC driver
hi
i tried to load and get connection from informix JDBC driver but got an execption
"No Suitable Driver" even though the informix jdbc driver is in my classpath.
gajanan
-
February 24th, 1999, 01:04 AM
#2
Re: JDBC driver
Hye,
I'd ask you to cross-check your classpath yet again cos' generally this is the reason why it fails. Check your import statements in the java code you wrote, make sure you have included everything needed.
Load the Drivers and open a connection in a single "try" section.
Tell me if this works.
Long live Java
Davender aka JaVaFLow
-
February 24th, 1999, 01:26 AM
#3
Re: JDBC driver
hi
my classpath was correct, but the problem was even though i had started the server i had not started the server thread
to listen onto the port to which the driver goes for connection. when i did this i got the connection.
but when i did not start the listener thread, the exception message was mis-leading
it said "No Suitable driver", i think it should say something like "No Connection possbile".
thanks davender
gajanan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|