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 .
回避策
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.
- Confluence をシャットダウンします。
Run the following SQL query on your Confluence database:
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
- 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.