Unable to start Crowd due to corrupted plugin caches
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
Problem
Crowd is not able to start
Restarting Crowd does not solve the issue
Diagnosis
The following appears in the
atlassian-crowd.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
Solution
Resolution
Backup your Crowd Home Directory
Stop Crowd
Delete the following folders:
<crowd-home>/bundled-plugins
<crowd-home>/caches
Start Crowd
Was this helpful?