Results 1 to 1 of 1
- 10-22-2008, 08:50 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
mysql connectionpropertiestransform issue - help needed
Hi,
I have implemented com.mysql.jdbc.ConnectionPropertiesTransform class.
In the jdbc connection url, I have added
propertiesTransform=com.mysql.jdbc.ConnectionPrope rtiesTransformImpl
attribute.
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
Similar Threads
-
MySQL + Java - auto incrementation issue
By int80 in forum Advanced JavaReplies: 6Last Post: 07-29-2008, 06:04 PM -
WAR issue,please see the details
By milindvijayshah@gmail.com in forum Advanced JavaReplies: 0Last Post: 07-25-2008, 10:51 AM -
Help needed with updating mysql database
By SilentCodingOne in forum New To JavaReplies: 1Last Post: 12-11-2007, 10:23 PM -
Issue
By chaitu444 in forum New To JavaReplies: 2Last Post: 11-06-2007, 07:49 PM -
MySQL issue: Exception while getting MetaDataInfo
By sandeepspatil in forum JDBCReplies: 2Last Post: 07-27-2007, 06:54 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks