wood burning stoves
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "Driver Missing" Watch "Driver Missing" New topic

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
Isn't the error message saying that I'm missing a class called COM.ibm.db2.jdbc.app.DB2Driver in the package ResourceBundle?
Dirk Schreckmann

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:
The classname seems to be:
But this driver is:
Unable to load DAMessages
Because it is a:

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.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Driver Missing
It's not a secret anymore!