zoukankan      html  css  js  c++  java
  • JIRA.HOME locked被锁的解决方案

           JIRA 4的安装方法还是和原来的一样,没有什么特别,唯一的不同就是要jira-application.properties中配置一个jira.home,具体的安装过程可以去网上Google一下,应该没有太多问题。

            可正是这个jira.home,却让我很是火了一把。

            昨天还是好好的,结果今天一去公司,JIRA就起不来的,总是报jira.home被锁。我Google了好久,都没有结果,好不容易在官方的论坛上看到http://jira.atlassian.com/browse/JRA-17600和http://jira.atlassian.com/browse/JRA-17792都看到了,这是一个bug,看看状态,已经解决了,我欣喜了一番,照着做了,没用?!

        发现了官方教程有教怎么解锁jira.home的教程,马上打开,开始照着做,

    具体的步骤贴出来供大家参考:

    To unlock your JIRA home directory , follow the instructions below:

    1. Verify that no running JIRA instances are configured to use the specified JIRA home. If there are running JIRA instances that are configured to use the specified JIRA home, shut them down and change the JIRA home directory to a different location.
    2. Remove the file .jira-home.lock . This file is located in your JIRA home directory .
    3. Restart JIRA.

    可教程里面让删除一个名为“.jira-home.lock” 的文件,可居然搜索不出来

            最后是在网上都了一个JIRA开发人员的blog,教了一招,还真好用,不过并没有解决问题,只是避开了这个问题,具体方法是:在setenv.sh中JAVA_OPTS里加入“-Djira.dev.mode=true”,鉴于作者希望不要广泛散播,还是不把作者的blog贴在这里,如果能找到我这篇blog的人也尊重作者的意思。^_^

  • 相关阅读:
    python 统计gitlab代码量
    whistle 模拟用户网络超时
    Node.js 快速转换 url 链接
    实用的 Git 命令
    前端常用 prettier 配置 + vetur 配置
    vue 项目 eslint + prettier 配置
    lodash 方法 debounce 防连点 防抖按钮点击
    npm 包实现自动登录 CICD 流程
    git push --follow-tags 命令
    小程序 iOS webview 中网页使用 iframe 无法滚动问题
  • 原文地址:https://www.cnblogs.com/maozhh/p/1895884.html
Copyright © 2011-2022 走看看