mysql connectionpropertiestransform issue - help needed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • samathak
    New Member
    • Oct 2008
    • 3

    mysql connectionpropertiestransform issue - help needed

    Hi,

    I have implemented com.mysql.jdbc. ConnectionPrope rtiesTransform class.

    In the jdbc connection url, I have added

    propertiesTrans form=com.mysql. jdbc.Connection PropertiesTrans formImpl

    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 .ConnectionProp ertiesTransform Impl' due to underlying exception java.lang.Class NotFoundExcepti on: com.mysql.jdbc. ConnectionPrope rtiesTransformI mpl


    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
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    samathak.

    Do not double post your questions! Especially not into the wrong forums.
    Please read the Posting Gudelines, which we expect all members to follow when posting here.

    This question may include the word "MySQL", but it is clearly a Java problem that has no place in a MySQL forum.

    Please continue this discussion in the other thread over in the Java forum.
    This thread is now closed.

    Thank you.
    Moderator

    Comment

    Working...