Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Unable to acquire JDBC Connection

anshul_sehgal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 17, 2023

We were getting below exceptions in logs for few days 

[security.denormalisedpermissions.impl.DenormalisedPermissionStateManagerImpl] reloadServiceState reloadServiceState failed: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.jav

runJob Scheduled job confluence.extra.webdav:contentJobQueueExecutor#contentJobQueueExecutorTrigger jobToBeExecuted failed to run org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:476) ... 24 lines omitted ... Caused by: net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection

onCronEvent Unable to process records: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:476) ... 27 lines omitted ... at java.base/java.lang.Thread.run(Unknown Source) Caused by: net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection

And after reboot of the server all exceptions have gone away. What can be the reason of these errors going away suddenly. Any pointers will be helpful

1 answer

1 accepted

Try going thru this post.

https://confluence.atlassian.com/confkb/unable-to-start-due-to-net-sf-hibernate-exception-genericjdbcexception-cannot-open-connection-128843899.html

However, if Confluence is working and you have just noticed these exceptions in the log, it's likely that Confluence was having issues connecting to the database resolved itself.

anshul_sehgal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 17, 2023 • edited

Thanks @Shawn Doyle - ReleaseTEAM , Our errors existed for almost 10 days and when we reinstalled confluence on new host, it got resolved, so not able to figure out what got changed during that time which resolved the issue.

Note : There are no database changes done. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events