This isn't a Tomcat problem, it's a DB2 problem. What it's saying is that the DB2 JDBC Driver is parsing your JDBC URL and the DB2 host or driver isn't accepting the "currentSchema" property. So you need to check which version of DB2 you're running and make sure you're using a compatible driver.
The currentSchema property is supported on DB2 Version 9.1. Older versions of DB2 may not support it. It's possible that some newer versions may not like it either, but that's not as certain.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 24, 2010
Thanks a lot Tim.
But i have used the same DB2 for my Tomcat6 + jdk1.5 environment. there it worked fine and still its working.
The currentSchema has been recognized in the above environment.
The only difference is JDK version. that is not enough to throw this error. Thats why i got confused.
The only difference in dbcp between Tomcat 5 and Tomcat 6 is that the 3 separate tomcat library directories were removed and replaced with the single "lib" directory. So most likely you're not using the same version of DB2 driver file as you used in Tomcat5.