How to use AO in thread for confluence?

lamella July 18, 2023

I'm throwing this exception message when I try to use multithreading to operate ao


com.atlassian.sal.api.rdbms.RdbmsException: unable to retrieve a java.sql.Connection from the org.hibernate.Session


This exception only occurs in confluence, and the multi-thread task I set can be executed normally in jira. What should I do to solve this problem?

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2023
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 14, 2024

@lamella Can you accept this answer to help others?

lamella April 10, 2024

Hi, @Brant Schroeder 

  Sorry, although I really want to end this issue, these two documents are from the perspective of installing Confluence. My Confluence is running normally, and this issue occurs in the plugin. When I try to use multithreading in the plugin under development and use AO to operate the database in the thread, this exception will be thrown. I believe this is not related to the database configuration of Confluence itself.

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2024

@lamella If you are developing your own app I would suggest posting the question here: https://community.developer.atlassian.com/ You will get better responses from the developer community.

lamella April 11, 2024

Hi, @Brant Schroeder Thanks a lot for this help, I'll ask in the developer community.

Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events