1. are you using a container-managed data source when you run in the context of the web app?
2. what is the driver class name that you specify? In fact, it would be helpful if you posted the hibernate.cfg.xml file.
3. what OS are you running on and what other files did you extract for the JConnector?
Generally speaking, this error occurs when non of loaded jdbc drivers have validated the syntax of the specific jdbc url. In your case, since the url syntax seems correct, there are 2 options:
1. you specify the wrong mysql jdbc driver class
2. another mysql driver is picked up on the classpath before yours - probably of an older mysql version, where the jdbc url was different.
3. some dependencies (native libs, etc) are missing for the driver.
|