jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Versioning fs not closed
Date Fri, 04 Mar 2005 08:57:23 GMT
hi edgar,

thanks for reporting this issue. i changed to code as you suggested
and committed it.

cheers
stefan


On Fri, 04 Mar 2005 01:19:02 -0300, Edgar Poce <edgarpoce@gmail.com> wrote:
> Hi
>   it seems that the versioning file system is never closed. I added a
> couple of lines to RepositoryImpl.shutdown() to close it.
> 
> regards
> edgar
> 
> 
> Index: org/apache/jackrabbit/core/RepositoryImpl.java
> ===================================================================
> --- org/apache/jackrabbit/core/RepositoryImpl.java      (revision 156080)
> +++ org/apache/jackrabbit/core/RepositoryImpl.java      (working copy)
> @@ -535,6 +535,13 @@
>              log.error("error while closing repository filesystem", e);
>          }
> 
> +        try {
> +            // close versioning file system
> +            repConfig.getVersioningConfig().getFileSystem().close() ;
> +        } catch (FileSystemException e) {
> +            log.error("error while closing versioning filesystem", e);
> +        }
> +
>          // make sure this instance is not used anymore
>          disposed = true;
>      }
> 
> 
>

Mime
View raw message