-
Bug
-
Resolution: Fixed
-
High
-
5.4.2
-
None
On a brand new installation or upgraded instance, the plugin Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.atlassian-oauth-service-provider-plugin) fail to start with the following stacktrace:
2014-01-28 13:13:30,705 WARN [Timer-4] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] timeout Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.oauth.atlassian-oauth-service-provider-plugin, config=osgibundle:/META-INF/spring/*.xml)] 2014-01-28 13:13:30,708 ERROR [Timer-4] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.oauth.atlassian-oauth-service-provider-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.sal.api.auth.OAuthRequestVerifierFactory)] (from bean [&oAuthRequestVerifierFactory]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.oauth.atlassian-oauth-service-provider-plugin' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2014-01-28 13:13:30,709 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Never resolved service '&oAuthRequestVerifierFactory' for plugin 'com.atlassian.oauth.serviceprovider' with filter (objectClass=com.atlassian.sal.api.auth.OAuthRequestVerifierFactory) 2014-01-28 13:13:30,710 ERROR [Timer-4] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.oauth.serviceprovider org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.oauth.atlassian-oauth-service-provider-plugin' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)
As a consequence, OAuth authentication does not work in the application links.
This has been reproduced with the timeout set to 5 minutes (-Datlassian.plugins.enable.wait=300)
- is blocked by
-
CRUC-990 Create a review with multiple revisions of the same file or add multiple revisions of the same file via the manage files tab.
- Closed
- relates to
-
CONFSERVER-31628 Privilege escalation
-
- Closed
-
- mentioned in
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
Form Name |
---|
Hello cjoh44.
This bug would only affect you if you have an application link set up between Confluence and another application and the authentication mechanism is OAuth.
In any other case, this bug should not affect you, even though the error will appear in the logs every time you start Confluence.