JIRA Fails to Start due to Invalid Database Configuration

お困りですか?

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

コミュニティに質問

症状

JIRA fails to start, either after configuring a database or improper shutdown. The following appears in the logs:

Caused by: java.lang.UnsupportedOperationException: Database is locked
at org.ofbiz.core.entity.LockedDatabaseGenericDelegator.findByAnd(LockedDatabaseGenericDelegator.java:168)
at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:87)
at com.opensymphony.module.propertyset.AbstractPropertySet.getKeys(AbstractPropertySet.java:292)
at com.atlassian.jira.propertyset.PropertySetCache.bulkLoad(PropertySetCache.java:301)
at com.atlassian.jira.propertyset.JiraCachingPropertySet.init(JiraCachingPropertySet.java:834)
at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:45)
at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:22)

原因

There are multiple causes for this issue. If installing a new database, entityengine.xml may be configured incorrectly. Alternatively, in rarer circumstances, the database may require repair.

ソリューション

  1. JIRA is locked. See JIRA applications are locked.
  2. Check entityengine.xml. Refer to the database-specific guide from Connecting JIRA to a Database.
  3. If it's accurate, check your database vendor's guide on repairing tables. For example, see the MySQL guide for table repair.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

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

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