-
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...
[CONFSERVER-32397] OAuth Plugin cannot be enabled on startup
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 74223 ] |
Workflow | Original: JAC Bug Workflow v3 [ 2896294 ] | New: CONFSERVER Bug Workflow v4 [ 2988956 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2787442 ] | New: JAC Bug Workflow v3 [ 2896294 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2735599 ] | New: JAC Bug Workflow v2 [ 2787442 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401083 ] | New: JAC Bug Workflow [ 2735599 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2301029 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401083 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234930 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2301029 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197878 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234930 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1950822 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197878 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1744486 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1950822 ] |