Connection Reset when Accessing the Database

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

症状

There is a large variety of symptoms for this particular case as it can occur at any point a connection to the database is being made. The following is an example of one of the errors that will appear in the atlassian-jira.log:

2012-04-19 17:10:38,896 http-8080-6 ERROR      [500ErrorPage.jsp] Exception caught in 500 page SQL Exception while executing the following:SELECT ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype FROM propertyentry WHERE ENTITY_NAME=? AND ENTITY_ID=? AND PROPERTY_KEY=? (I/O Error: Connection reset)
com.opensymphony.module.propertyset.PropertyImplementationException: SQL Exception while executing the following:SELECT ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype FROM jiraschema.propertyentry WHERE ENTITY_NAME=? AND ENTITY_ID=? AND PROPERTY_KEY=? (I/O Error: Connection reset)

原因

When a database server reboots or a network failure has occurred, all connections in the database connection pool are broken, and JIRA would normally need restarting to recreate those connections. We have some further information on this within our Surviving Connection Closures documentation.

ソリューション

  1. If you are using HSQL Database, which is supported only for evaluation and not for production environments, switch to a supported database for your JIRA version using with Switching Databases guide.
  2. Ensure that the validation query is set as in:

最終更新日: 2023 年 1 月 18 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.