4 Replies Latest reply on Jan 22, 2013 1:25 AM by ezhilre

    Unable to connect to MySQl


      Hello all,


      I am using CQ5 version. I am having trouble with connecting to MySql database. I have created a form for registration, So i created bundle where i wrote a servlet to connect to Mysql database and some logics and i added "mysql-connector-java-5.1.13-bin.jar" file in libs folder, i am not getting any error while building the bundle but that bundle status is always showing "installed" status instead of "Active".


      The bundle status is Active when i remove that "mysql-connector-java-5.1.13-bin.jar" file from libs folder.


      I am getting the below error when the bundle status is “Installed”


      com.mchange.v2.c3p0 -- Cannot be resolved

      org.jboss.resource.adapter.jdbc -- Cannot be resolved
      org.jboss.resource.adapter.jdbc.vendor -- Cannot be resolved

      Does anyone have any suggestions on what I might try to resolve this?