New versions of the UPM break Application Links for versions up to Confluence 5.2
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Symptoms
You will not be able to create an application link.
The following appears in the atlassian-confluence.log, during the startup
:
1
2
3
4
5
6
7
8
9
10
11
12
13
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.
Solution
Workaround
You can remove the installed version of the UPM to default to the bundled one:
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.
Shutdown Confluence
Run the following SQL query on your Confluence database:
1
delete from plugindata where pluginkey like 'com.atlassian.upm.atlassian-universal-plugin%';
Clear your plugin cache. To do that, please delete the content of these folders (if they exist):
<confluence-home>/bundled-plugins
<confluence-home>/plugin-cache
<confluence-home>/plugins-osgi-cache
<confluence-home>/plugins-temp
<confluence-home>/bundled-plugins_language
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.
Was this helpful?