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