New versions of the UPM break Application Links for versions up to Confluence 5.2

お困りですか?

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

コミュニティに質問

症状

You will not be able to create an application link.

atlassian-confluence.log, during the startup に次のメッセージが表示される。

2014-08-05 08:59:30,743 ERROR [FelixDispatchQueue] [osgi.container.felix.FelixOsgiContainerManager] frameworkEvent Framework error in bundle com.atlassian.upm.atlassian-universal-plugin-manager-plugin^M
org.osgi.framework.ServiceException: Service factory exception: Plugin with key com.atlassian.labs.remoteapps-plugin is not authorized to access this service: com.atlassian.upm.api.license.RemotePluginLicenseService^M
        at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:311)^M
        at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:221)^M
        at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:295)^M
        at org.apache.felix.framework.Felix.getService(Felix.java:3007)^M
        at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:329)
...
Caused by: com.atlassian.upm.license.internal.impl.remote.RemotePluginLicenseServiceServiceFactory$UnauthorizedRemotePluginLicenseServiceAcquisitionException: Plugin with key com.atlassian.labs.remoteapps-plugin is not authorized to access this service: com.atlassian.upm.api.license.RemotePluginLicenseService^M
        at com.atlassian.upm.license.internal.impl.remote.RemotePluginLicenseServiceServiceFactory.getService(RemotePluginLicenseServiceServiceFactory.java:41)^M
        at org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105)
        at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:307)
        ... 47 more

診断

The system plugin Atlassian Remotable Plugins - Plugin is disabled and cannot be enabled.

原因

The system plugin Atlassian Remotable Plugins - Plugin is not compatible with UPM versions after 2.16.x. You can find more information in  Unable to locate Jira server for this macro. It may be due to Application Link configuration. .

回避策

You can remove the installed version of the UPM to default to the bundled one:

tip/resting Created with Sketch.

This instructions will modify your Confluence database. Please make sure to take a database backup before you apply the changes, in case they need to be rolled back.


  1. Confluence をシャットダウンします。
  2. Run the following SQL query on your Confluence database:

    delete from plugindata where pluginkey like 'com.atlassian.upm.atlassian-universal-plugin%';
  3. Clear your plugin cache. To do that, please delete the content of these folders (if they exist):
    1. <confluence-home>/bundled-plugins
    2. <confluence-home>/plugin-cache

    3. <confluence-home>/plugins-osgi-cache

    4. <confluence-home>/plugins-temp

    5. <confluence-home>/bundled-plugins_language

  4. Confluence を起動します。

Please make sure you do not upgrade the UPM until you have upgraded to Confluence 5.3.x or later.

ソリューション

This problem is fix in UPM 2.17.10. Upgrading the UPM to the latest available version will resolve the problem.

最終更新日 2018 年 11 月 14 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.