wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How can I load the DB2 JDBC Driver ??????
 
Similar Threads
DB2 driver
Jar file for DB2 Connection?
java.sql.SQLException: No suitable driver
problems loading the driver within a jar
Help on DB2