jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Error shutting down RepositoryImpl
Date Mon, 18 Dec 2006 08:17:09 GMT
We once had a similar issue in 0.9 when jackrabbit was running in a tomcat web 
application. There it may happen that tomcat invalidates the web application 
classloader before the repository is shutdown. In that case tomcat prevents 
jackrabbit from loading new classes during the shutdown sequence.

See http://issues.apache.org/jira/browse/JCR-120

When and how do you shutdown the repository?

regards
  marcel

Lei Zhou wrote:
> Hi,
> 
> When shutting down repository, I got the following error.  (Jackrabbit 
> v1.1.1)
> 
> [15/12/06 15:21:28:219 EST] 0000003d SystemErr     R 
> java.lang.IllegalAccessError: 
> org.apache.commons.collections.buffer.UnboundedFifoBuffer: trying to 
> access class org/apache/commons/collections/buffer/UnboundedFifoBuffer$1
>         at 
> org.apache.commons.collections.buffer.UnboundedFifoBuffer.iterator(UnboundedFifoBuffer.java:274)
>         at java.util.AbstractCollection.clear(AbstractCollection.java:434)
>         at 
> org.apache.commons.collections.collection.SynchronizedCollection.clear(SynchronizedCollection.java:107)
>         at 
> org.apache.jackrabbit.core.query.lucene.IndexMerger.dispose(IndexMerger.java:206)
>         at 
> org.apache.jackrabbit.core.query.lucene.MultiIndex.close(MultiIndex.java:646)
>         at 
> org.apache.jackrabbit.core.query.lucene.SearchIndex.close(SearchIndex.java:343)
>         at 
> org.apache.jackrabbit.core.SearchManager.shutdownQueryHandler(SearchManager.java:538)
>         at 
> org.apache.jackrabbit.core.SearchManager.close(SearchManager.java:299)
>         at 
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(RepositoryImpl.java:1721)
>         at 
> org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:903)
>         at 
> org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:867)
> 
> my code is like:  (RepositoryImpl)myRepository.shutdown();
> 
> Has anyone seen this before? 
> 
> 
> Thanks,
> Lei

Mime
View raw message