File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Failure to Locate Database Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Failure to Locate Database Driver" Watch "Failure to Locate Database Driver" New topic
Author

Failure to Locate Database Driver

Michael Scott
Ranch Hand

Joined: Jan 20, 2003
Posts: 57
I have a Java program that fails when trying to connect to a DB2 database. The error message is as follows:
com.ibm.ivj.eab.dab.DAException:
NO_SUITABLE_DRIVER Unable to load
DAMessages
ResourceBundle.COM.ibm.db2.jdbc.app.DB2Driver
I imported the package 'COM.ibm.db2.jdbc.app' into my IDE (VisualAge) along with all other DB2 packages. (These packages are in the db2java.zip file in the 'Program Files\SQLLIB\Java' directory on my pc.)
In VisualAge, I've verified that the Properties of the class that should access DB2 is set to reference the DB2 packages.

I'd appreciate any ideas on why this error occurred. Thanks very much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failure to Locate Database Driver
 
Similar Threads
Career Advise Please
Is IBM exam still there?
help in finding a reporting tool in java
Error when opening Visual Age
VAJ RMI classpath