indexing problems on metadata retrieval
---------------------------------------

                 Key: MRM-1148
                 URL: http://jira.codehaus.org/browse/MRM-1148
             Project: Archiva
          Issue Type: Bug
          Components: indexing, remote proxy
            Reporter: Brett Porter


I repeatedly get the following, though the next attempt it succeeds (And a 
subsequent file dies). Note that there is another process using the repository 
at the same time.

{code}
04341 [btpool0-3] ERROR org.mortbay.log - 
/archiva/repository/releases/org/apache/maven/plugins/maven-pmd-plugin/maven-metadata.xml
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
        at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:196)
        at org.apache.lucene.index.IndexReader.document(IndexReader.java:636)
        at 
org.sonatype.nexus.index.packer.DefaultIndexPacker.writeIndexChunks(DefaultIndexPacker.java:168)
        at 
org.sonatype.nexus.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:94)
        at 
org.apache.archiva.consumers.lucene.NexusIndexerConsumer.completeScan(NexusIndexerConsumer.java:209)
        at 
org.apache.archiva.repository.scanner.functors.TriggerScanCompletedClosure.execute(TriggerScanCompletedClosure.java:48)
        at 
org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
        at 
org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers.executeConsumers(RepositoryContentConsumers.java:262)
        at 
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferFile(DefaultRepositoryProxyConnectors.java:576)
        at 
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchMetatadaFromProxies(DefaultRepositoryProxyConnectors.java:287)
        at 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.fetchContentFromProxies(ArchivaDavResourceFactory.java:529)
        at 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepository(ArchivaDavResourceFactory.java:418)
        at 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepositoryGroup(ArchivaDavResourceFactory.java:358)
        at 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(ArchivaDavResourceFactory.java:202)
        at 
org.apache.maven.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:118)
{code}

In addition, this shouldn't result in a 500 error


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to