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

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

You will not be able to create an application link.

The following appears in the 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

Diagnosis

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

Cause

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

Workaround

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

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

Resolution

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

Last modified on Nov 14, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.