It's me again. I forgot to tell that I am using JBoss, Eclipse, MySQLConnector J and a MySQL database.
I found the source of my error. I defined a classpath in my .bashrc to the driver's path and it's wrong. I just commented it and now it works. Conclusion: just add your driver (.jar) under your WEB-INF/lib directory and export it in the properties of your java project as an internal .jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947587#3947587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947587 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user