• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.4.3
    • 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)

            [CONFSERVER-32397] OAuth Plugin cannot be enabled on startup

            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 74223 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2896294 ] New: CONFSERVER Bug Workflow v4 [ 2988956 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2787442 ] New: JAC Bug Workflow v3 [ 2896294 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2735599 ] New: JAC Bug Workflow v2 [ 2787442 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401083 ] New: JAC Bug Workflow [ 2735599 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2301029 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401083 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234930 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2301029 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197878 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234930 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1950822 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197878 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1744486 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1950822 ]

              xtaixe Xavier Sanchez
              aconde Alejandro Conde Carrillo (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: