JIRA 5.2 unable to be used after upgrading Java to 1.7


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



JIRA 5.2 supports Java 1.7, however, if the JRE/JDK is changed from 1.6 to 1.7, then JIRA is restarted it is unable to be used, stating that bundled plugins that are required are unable to start.

atlassian-jira.log に次のメッセージが表示される。

[atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.mywork.mywork-jira-provider-plugin, com.atlassian.gadgets.oauth.serviceprovider, com.atlassian.activeobjects.activeobjects-plugin, com.atlassian.labs.hipchat.hipchat-for-jira-plugin, com.atlassian.streams.actions, com.atlassian.gadgets.embedded, com.atlassian.plugins.atlassian-nav-links-plugin, com.atlassian.jira.jira-issue-nav-plugin, com.atlassian.mywork.mywork-common-plugin, com.atlassian.oauth.serviceprovider, com.atlassian.oauth.consumer]
2013-01-05 01:11:16,787 localhost-startStop-1 ERROR      [plugin.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.jira.jira-header-plugin' : Unresolved constraint in bundle com.atlassian.jira.header-plugin [41]: Unable to resolve 41.0: missing requirement [41.0] package; (&(package=javax.annotation)(version>=<=  This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D
2013-01-05 01:11:16,787 localhost-startStop-1 WARN      [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.jira.jira-header-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jira.jira-header-plugin
	at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445)
	at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
	at com.atlassian.plugin.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:215)
[plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.activeobjects.jira.spi'
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.activeobjects.jira.spi
The following plugins are required by JIRA, but have not been started: RPC JIRA Plugin (com.atlassian.jira.ext.rpc), 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 JIRA - Plugins - OAuth Consumer SPI (com.atlassian.jira.oauth.consumer), Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module), Atlassian JIRA - Plugins - OAuth Service Provider SPI (com.atlassian.jira.oauth.serviceprovider), 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 - Gadgets Plugin (com.atlassian.jira.gadgets), Atlassian JIRA - Plugins - Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin)


JIRA was originally using Java 1.6 and has been changed to use Java 1.7. This is typically done by modifying the $JAVA_HOME and restarting JIRA.


JIRA was set up using Java 1.6, hence all the expanded plugins (the caches) stores data compatible with Java 1.6. However, when the $JAVA_HOME was changed to use Java 1.7 and the plugin framework attempts to enable those expanded plugins, it finds them to be incompatible with Java 1.7 and they do not enable.


To resolve this, the caches have to be cleared. To do so, follow these steps :

  1. Jira をシャットダウンします。
  2. Delete the following directories:


    (info) These are temporary files and folders and will be recreated when JIRA starts.

  3. Startup JIRA.
Last modified on Mar 30, 2016


Powered by Confluence and Scroll Viewport.