title: My project is connecting to mysql database on my local tomcat server 6 but not connecting on tomcat6 in hosting platform
body: <p>My project is working fine on my local machine. I am using Private JVM hosting provided by unlimitedgb.com, The project is working fine on my eclipse with tomcat server 6 but when i deploy project on the tomcat server6 provided in NGASI Panel, it is not connecting to database. i had verified the connection string many times. i had exported mysql file as .sql file to the phpmyadmin panel provided in the control panel verified the username and password, database name and port number codded in the "dblayer.java" (myproject/Java Resources :src/com.my.classes) several times.  </p>
  
  <p>I am using "mysql-connector-java-5.1.26-bin.jar" as well as java jason.jar as additional libraries for my project. both files are placed on "myproject/WebContent/WEB-INF/ib/" and which is added to "myproject/Java Resources:src/Libraries/ from above location. I am also using JRE System Library [jre7] in which the "mysql-connector-java-5.1.26-bin.jar" is present by default but i had added the mysql connector as it is not present in the apache tomcat6 present at my hosting platform. the json.jar is working fine on the server in hosting platform. i had uploaded my project as war file and deployed in apache tomcat server 6 provided by hosting. there is no error showing project is deploying propely but the project is not getting connected with my database. please help me to fix this.</p>