![sl cache viewer x object sl cache viewer x object](https://live.staticflickr.com/65535/50700748732_5ea53f6ee3_c.jpg)
Which is a non-root user created by your system admin to start Confluence. For Linux: Restart Confluence as a 'confluence' user.Depending on the OS, perform the following:.You may need to clear the entire plugins cache, not just the /plugins-osgi-cache/felix.Remove the /plugins-osgi-cache/felix folder.CauseĬonfluence is not able to load/delete some of the plugin jar files in the /plugins-osgi-cache/felix folder because of permission issue. A typical scenario is they are owned by root and 'confluence' users.
![sl cache viewer x object sl cache viewer x object](https://support.stackpath.com/hc/article_attachments/360002454283/CDN_caching_explained_image_2.png)
When doing a directory listing of ls -la in /plugins-osgi-cache/felix you can see that the jar files in this directory are owned by different users. BeanCreationException: Error creating bean with name 'pluginManager' defined in class path resource : Cannot resolve reference to bean 'bundledPluginLoader' while setting constructor argument with index 1 with key nested exception is .BeanCreationException: Error creating bean with name 'bundledPluginLoader' defined in class path resource : Cannot resolve reference to bean 'osgiPluginFactory' while setting constructor argument with index 1 with key nested exception is .BeanCreationException: Error creating bean with name 'osgiPluginFactory' defined in class path resource : Cannot resolve reference to bean 'osgiPersistentCache' while setting constructor argument with index 2 nested exception is .BeanCreationException: Error creating bean with name 'osgiPersistentCache': FactoryBean threw exception on object creation nested exception is .container.OsgiContainerException: Unable to clean the cache directory: /usr/local/confluence-data/plugins-osgi-cache/felixĬaused by: .container.OsgiContainerException: Unable to clean the cache directory: /usr/local/confluence-data/plugins-osgi-cache/felixĪt .(DefaultOsgiPersistentCache.java:91)Īt .(DefaultOsgiPersistentCache.java:37)Īt .(OsgiPersistentCacheFactory.java:23)Ĭaused by: java.io.IOException: Unable to delete file: /usr/local/confluence-data/plugins-osgi-cache/felix/felix-cache/bundle0/bundle.idĪt .FileUtils.forceDelete(FileUtils.java:1390)Īt .FileUtils.cleanDirectory(FileUtils.java:1044)Īt .leteDirectory(FileUtils.java:977)Īt .FileUtils.forceDelete(FileUtils.java:1381)Īt .(DefaultOsgiPersistentCache.java:87)
![sl cache viewer x object sl cache viewer x object](https://demiart.ru/forum/uploads3/post-106198-1236673660.jpg)
] log Exception sending context initialized event to listener instance of class .BootstrappedContextLoaderListener