Changing the repository index breaks the entire repository
----------------------------------------------------------
Key: MRM-1252
URL: http://jira.codehaus.org/browse/MRM-1252
Project: Archiva
Issue Type: Bug
Components: indexing, repository converter, repository scanning
Affects Versions: 1.2.1
Environment: Solaris x86
Reporter: Guntas
Priority: Critical
Hi,
We moved the entire repository from one machine to another. Earlier the
repository was managed by Archiva 1.2.1 with repository identifier as
'Identifier1'. Now we have moved to a different machine and so we copied the
whole repository to the new machine and set up and configured new Archiva with
the repository identifier as 'Identifier2' (different from what it was
earlier). But pointing to the same old copied repository.
Here the problem:
Archiva is unable to search the artifact. And in the logs it says:
./logs/archiva.log:1585:2009-09-16 04:37:06,919 [btpool0-8] WARN
org.apache.archiva.indexer.search.NexusRepositorySearch - Error accessing
index of repository 'Identifier2' : The existing index is for repository
[Identifier1] and not for repository [Identifier2]
Could you please help me know that is by default Archiva storing the index in
the repository !! How can I fix this problem now?
Thanks in advance.
--
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