aspose file tools*
The moose likes JDBC and the fly likes Driver Missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Driver Missing" Watch "Driver Missing" New topic
Author

Driver Missing

Michael Scott
Ranch Hand

Joined: Jan 20, 2003
Posts: 57
I'm seeing the following message when running a Java application:
NO_SUITABLE_DRIVER Unable to load DAMessages
ResourceBundle.COM.ibm.db2.jdbc.app.DB2Driver
Isn't the error message saying that I'm missing a class called COM.ibm.db2.jdbc.app.DB2Driver in the package ResourceBundle?
Thanks.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm pretty sure that's not what the error message means. If a class could not be found, you'd get a ClassNotFoundException.
I would guess that the line of code causing the problem is trying to get a Connection from a DriverManager, but a suitable JDBC driver hasn't been loaded yet.
I doubt that helps much. It might help others to help you if you were to post a bit more of the text from the error message you're receiving, as well as any code you feel may well be relevant.
Good Luck


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

The Packagename is:
ResourceBundle.COM.ibm.db2.jdbc.app
The classname seems to be:
DB2Driver
But this driver is:
Unable to load DAMessages
Because it is a:
NO_SUITABLE_DRIVER

There are lot's of NO_SUITABLE_DRIVER (for instance: wrong version, oracle-driver for postgresql-database, no driver at all...)
I don't know DAMessages - perhaps someone else might help you there.


http://home.arcor.de/hirnstrom/bewerbung
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Driver Missing