cs_cty

Greenhorn
+ Follow
since May 02, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by cs_cty

Hi,
I follow your description and unzip the db2java.zip file to a directory, let say "test". and then i set the classpath to the directory, it doesn't work, then i reset the classpath to the directory contains the two class files and run the program in J2ee1.3 server. it threw NoClassFoundException. what can i do/
thx
stephen chan

Originally posted by Rahul Mahindrakar:
I guess you have set the path to db2java.zip and not the class file by unziping it.
I have unziped my db2java.zip file and find in it tow 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
I use the first one on my system as i could specify only that in my Websphere application server when configuring the driver.
Also it is strange that IBM uses the "COM" all in caps as packages are supposed to be in lowercase.
Please look at package names or write them carefully whenever you do so.
Why dont you try to change the HitCounterBean's DataSource to your DB2 database and restart the server. If you get any specific errors then we can look into it.
Hope we get it right this time


24 years ago