Click to See Complete Forum and Search --> : JDBC driver
gajanan kulkarni
February 23rd, 1999, 04:31 AM
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
Davender Pratap Singh
February 24th, 1999, 12:04 AM
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
gajanan kulkarni
February 24th, 1999, 12:26 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.