I have implemented com.mysql.jdbc.ConnectionPropertiesTransform class.

In the jdbc connection url, I have added

propertiesTransform=com.mysql.jdbc.ConnectionPrope rtiesTransformImpl


I made jar of this implementation class file and i have placed this jar file inside webapps/ (application)/WEB-INF/lib. mysql-connector-java-5.0.4-bin.jar file is present inside \tomcat\common\lib.

I am getting following exception.

Unable to create the properties transform instance 'com.mysql.jdbc.ConnectionPropertiesTransformImpl' due to underlying exception java.lang.ClassNotFoundException: com.mysql.jdbc.ConnectionPropertiesTransformImpl

If I place mysql-connector-java-5.0.4-bin.jar inside webapps/ (application)/WEB-INF/lib, its working fine.

Any idea? Is it classpath/class loader issue?

Thanks in advance