-1

HTTP Status 500 - Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection

  • Please share some configs, sources etc. We only can suggest you to check similar cases if you will not provide it https://stackoverflow.com/questions/35439611/could-not-open-hibernate-session-for-transaction-javaconfig https://stackoverflow.com/questions/18112339/could-not-open-hibernate-session-for-transaction-cannot-open-connection – Virtuozzo Jun 09 '17 at 12:46

1 Answers1

0

I think your Hibernate configuration is accessing the database via a secure layer? In any case, you should configure your Hibernate or any ORM to connect to the database through it's INTERNAL IP address. This should fix the issue.

quarks
  • 33,478
  • 73
  • 290
  • 513