This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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.
Customer surveys are for companies who didn't pay proper attention to begin with.
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.