JIRA 常见的错误

1: 索引异常

 

错误日志:

Caused by: com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.jira.util.RuntimeIOException: java.io.IOException: read past EOF

 

解决方案:

  1. Stop JIRA.
  2. Remove the following directory and all its subdirectories:

    $JIRA_HOME/caches/indexes

    (info) This will be rebuilt when JIRA is next reindexed.

  3. Start JIRA.
  4. Perform a re-index of JIRA through the Administration section.

 _______________________________________________________________

 

2. 断电引起的问题

You cannot access JIRA at present. Look at the table below to identify the reasons解决方法

官网也给出了解决方法。

在你的jira.home的目录下删除.jira_lock这个文件就可以了。这是一个隐藏文件。

请看这个参数:jira.home=/usr/local/jira/data

如果你找不到.jira_lock文件,那就不用找了,它就是不存在。直接重启就OK了

 

 

 _______________________________________________________________ 

3.版本的不兼容

因为之前使用jdk-7u7版本,在安装完jira到网页上配置时报错了,网页错误代码如下:

 

JIRA Startup Failed

You cannot access JIRA at present. Look at the table below to identify the reasons

Description

The following plugins are required by JIRA, but have not been started:

 

Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)

Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin)

Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)

Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)

Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel)

Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module)

Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher)

Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest)

Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider)

Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer)

Opensocial Plugin (com.atlassian.gadgets.opensocial)

Gadget Directory Plugin (com.atlassian.gadgets.directory)

Atlassian JIRA - Plugins - SAL Plugin (com.atlassian.sal.jira)

Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)

 

 

jira主库目录下的logs/catalina.out也是一大堆关于丢失插件的错误,自己琢磨一个商业软件不会做的这么拙劣吧,考虑到了是不是java版本太新,试着使用1.6版本的java,就没有再遇见过这类问题了

猜你喜欢

转载自shiguanghui.iteye.com/blog/1912054