java.lang.RuntimeException: Unable to delete working directory

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.6-dr1, 2.6.0
    • Affects Version/s: 2.5.5
    • Component/s: None
    • Environment:

      Window Server 2003 , Websphere , Oracle database

      Getting the following error when starts up:

       java.lang.RuntimeException: Unable to delete working directory
      at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.clearWorkDir(DatabaseClassLoadingPluginLoader.java:76)
      at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.loadAllPlugins(DatabaseClassLoadingPluginLoader.java:49)
      

      After each restart of Confluence instance, all the plugins installed separately disappear from Plugin Manager.

      This is due to Window file locking issue. There's a lock on the plugin-cache directory that isn't being released when Confluence shuts down, and it can't get a new one subsequently.

      To resolve this problem, apply the attached patch DatabaseClassLoadingPluginLoader.class and replace it into: <Confluence-installed-directory>\confluence\WEB-INF\classes\com\atlassian\confluence\plugin

              Assignee:
              Don Willis
              Reporter:
              Fennie Ng [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: