• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Failure to Locate Database Driver

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic