I have an application which uses hibernate that runs fine in hosted
mode, but no longer when deployed.
Here's the details:
In hosted mode it connects to a database that resides on a remote
Connection details set in hibernate.cfg.xml
When run I it get a long stacktrace with errors similar to the
SEVERE: Unable to instrument
$ValueWriter$8. Security restrictions may not be entirely emulated.
Which apparently has to do with the fact that it's being run in hosted
mode, and I read that it can be ignored.
The application saves and retrieves data without problems.
After deploying it on appspot and when I try to save a new row in a
table I get this:
javax.servlet.ServletContext log: Exception while dispatching incoming
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract boolean
threw an unexpected exception: java.lang.NoClassDefFoundError: Could
not initialize class com.mysql.jdbc.ConnectionImpl
Since the app works fine in hosted mode ( apart from those
exceptions ) I am not even sure which files I should add to the
Any idea much appreciated!
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.