Unable to start Crowd due to corrupted plugin caches

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

  • Crowd is not able to start
  • Restarting Crowd does not solve the issue

Diagnosis

  • The following appears in the atlassian-crowd.log:
2013-01-25 09:15:31,740 Timer-3 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.templat$
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.templaterenderer.atlassian-template-renderer-api' 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(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
2013-01-25 09:15:31,778 main INFO [atlassian.plugin.manager.DefaultPluginManager] Disabling com.atlassian.auiplugin
2013-01-25 09:15:31,779 main INFO [atlassian.plugin.manager.DefaultPluginManager] Disabling com.atlassian.templaterenderer.atlassian-template-renderer-velocity1.6-plugin
2013-01-25 09:15:31,779 main INFO [atlassian.plugin.manager.DefaultPluginManager] Disabling com.atlassian.templaterenderer.api
2013-01-25 09:15:31,779 main ERROR [atlassian.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.auiplugin,com.atlass$
2013-01-25 09:15:32,007 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] No plugins found to be deployed
2013-01-25 09:15:32,016 main INFO [atlassian.plugin.manager.DefaultPluginManager] Plugin system started in 0:01:02.500
2013-01-25 09:15:32,017 main ERROR [atlassian.crowd.plugin.RequiredPluginsStartupCheck] Required plugin is disabled: crowd-rest-plugin
2013-01-25 09:15:32,043 main INFO [ContainerBase.[Catalina].[localhost].[/crowd]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
2013-01-25 09:15:32,261 http-8095-2 INFO [atlassian.johnson.filters.JohnsonFilter] The application is still starting up, or there are errors. Redirecting request from '/console/index.jsp' to '/consol$

Cause

This is due to corrupted plugin caches, mostly because of improper/forced shutdown of Crowd

Resolution

  • Backup your Crowd Home Directory
  • Stop Crowd
  • Delete the following folders:
    • <crowd-home>/bundled-plugins
    • <crowd-home>/caches
  • Start Crowd
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.