Java.lang.UnsupportedOperationException:Database is locked

Source: Internet
Author: User



Today, when deploying the Jira system, the error is:



Java.lang.UnsupportedOperationException:Database is locked




cause Analysis: There are many reasons for this error, if you are installing a new database, then it is possible that the Entityengine.xml configuration error is caused, or your database needs to be repaired, which means that your database is out of the question.



Workaround:



You have to remove this three: remove three things--. Jira-home.lock. Bundled-plugins/and. osgi-plugins/



--1>cd/usr/local/jira/atlassian-jira-6.3.6-standalone/bin "CD to Jira Bin directory"



--2>sh stop-jira.sh "Stop Jira"



--3>cd/usr/local/jira_home; Ls-a "CD to Jira_home directory, you can see. jira_home.lock file"



--4>rm-f. Jira-home.lock "Delete it"



--5>CD plugins/



--6>rm-rf. bundled-plugins/. osgi-plugins/"Delete directory"



--7>cd/usr/local/jira/atlassian-jira-6.3.6-standalone/bin



--8>sh start-jira.sh "Start Jira"



--9> can use TAILF catalina.out to see if there are any error messages during startup.





After the OK reboot, open the browser access.



—————————————————————————————————————————————






Https://confluence.atlassian.com/display/JIRAKB/JIRA+is+Locked "This is a document given by the official can see"









This article is from the "Hello_world" blog, make sure to keep this source http://coward.blog.51cto.com/7599475/1621417



Java.lang.UnsupportedOperationException:Database is locked


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.