Wednesday, 21 August 2013

JDBC not working on production server

JDBC not working on production server

I have jdbc and hibernate working just fine on my local web app, but when
I deploy it to a remote server, I get this error:
HTTP Status 401 - Could not open Hibernate Session for transaction; nested
exception is org.hibernate.exception.JDBCConnectionException: Could not
open connection
The server is on the same machine as the mysql database. Could that be a
problem? If not, what could it be?

No comments:

Post a Comment