Confluence unable to be used after upgrading Java to 1.7


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



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

 The following appears in the atlassian-confluence.log:

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle confluence.extra.masterdetail [102]: Unable to resolve 102.0: missing requirement [102.0] package; (&(package=javax.naming)(version>=<=
2013-09-05 08:55:25,461 ERROR [main] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'com.atlassian.activeobjects.activeobjects-plugin' : Unresolved constraint in bundle com.atlassian.activeobjects.activeobjects-plugin [26]: Unable to resolve 26.0: missing requirement [26.0] package; (&(package=com.atlassian.activeobjects.spi)(version>=0.17.0)) [caused by: Unable to resolve 27.0: missing requirement [27.0] package; (&(package=javax.sql)(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
2013-09-05 08:55:25,463 WARN [main] [plugin.osgi.factory.OsgiPlugin] enable Unable to enable plugin 'com.atlassian.activeobjects.activeobjects-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.activeobjects.activeobjects-plugin
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(
at com.atlassian.plugin.impl.AbstractPlugin.enable(


Confluence 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 Confluence.


Confluence 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.


  1. Confluence をシャットダウンします。
  2. Confluence を実行しているユーザーに confluence-home ディレクトリへの完全な読み取り / 書き込み権限が割り当てられていることを確認します。
  3. 次のディレクトリを削除します。
    (warning) これはプラグイン キャッシュ ファイルのみを削除し、プラグインの完全な削除は行いません。これらのディレクトリは、Confluence の次回の起動時に再作成されます。ただし、サードパーティ プラグインによっては、このディレクトリにメタデータを格納している可能性があります。このため、ディレクトリの一時的なバックアップを作成しておくことをおすすめします。
    • <confluence-home>/bundled-plugins
    • <confluence-home>/plugins-cache
    • <confluence-home>/plugins-osgi-cache
    • <confluence-home>/plugins-temp
    • <confluence-home>/bundled-plugins_language
  4. Confluence を起動します。

Last modified on Mar 30, 2016


Powered by Confluence and Scroll Viewport.