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 How can I load the DB2 JDBC Driver ?????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How can I load the DB2 JDBC Driver ??????" Watch "How can I load the DB2 JDBC Driver ??????" New topic
Author

How can I load the DB2 JDBC Driver ??????

Hrvoje Canzek
Greenhorn

Joined: Sep 18, 2002
Posts: 16
Hi together, this error was thrown after i tried to connect to DB2 database with a SessionBean:
---
java.lang.ClassNotFoundException:COM.ibm.db2.jdbc.app.DB2Driver
---
Does anyone know how to load the Driver
Additional Information:
i copied my driver-file(db2java.zip) into the
<j2ee home>\lib\system directory,that didn't work
then I renamed the file into db2java.jar, that also didn't work.
In both cases i set my j2ee_classpath to that file
WHAT'S WRONG !!!
Thank you
HowyC
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I load the DB2 JDBC Driver ??????