The moose likes Websphere and the fly likes VisualeAge and DB2: ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "VisualeAge and DB2: ClassNotFoundException" Watch "VisualeAge and DB2: ClassNotFoundException" New topic
Author

VisualeAge and DB2: ClassNotFoundException

madi nasser
Greenhorn

Joined: Nov 21, 2001
Posts: 6
In map schema. Schema->export Entire Schema to Database
Connection type: COM.ibm.db2.app.DB2Driver
Data Source: jdbc:db2:ACCOUNT
Userid: db2admin
Password: db2admin
if i click button: Test
I receive the following errors:
java.lang.ClassNotFoundException: COM.db2.jdbc.app.DB2Driver
although my classpath contains: C:\SQLLIB\java\db2java.zip
I have unziped my db2java.zip file and find in it two DB2Driver.class files
The first one belongs to the "COM.ibm.db2.jdbc.app"
and the second one belongs to "COM.ibm.db2.jdbc.net" packages

thank you in advance
PN S
Greenhorn

Joined: Nov 29, 2001
Posts: 3
Guess u need to set the classpath in VAJ setting - an option called edit classpath setting in quickstart(F2) where in the path needs to be set to <drive:>/sqllib/java/db2java.zip.
This had solved the problem (a similar one) for me.
 
IntelliJ Java IDE
 
subject: VisualeAge and DB2: ClassNotFoundException
 
Threads others viewed
JSP DB2 Driver WebSphere
HELP 2 !!!!!!!!!
DB2 connection error
connect to db2 8 error using JDBC
Help on DB2
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture