archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deng Ching <och...@apache.org>
Subject Re: browse to artifact directory doesn't work
Date Thu, 17 Sep 2009 10:18:56 GMT
Hi Julian,

Looks like a similar problem to:

http://jira.codehaus.org/browse/MRM-1176

You would need to re-create the database as indicated in
http://jira.codehaus.org/browse/MRM-1157 (related issue) to workaround this.

You need to follow these steps to re-create it:
1. Stop Archiva
2. Delete the index directory of the repository (don't forget to delete the
.index dir at the root of the repository directory)
3. Execute *find [REPOSITORY_DIRECTORY_NAME] | xargs touch* at the base
directory where the repository resides
4. Start Archiva

The repositories will be scanned during startup.

Thanks,
Deng

On Thu, Sep 17, 2009 at 2:21 AM, Julian Dunn <Julian.Dunn@cbc.ca> wrote:

> We're using Archiva 1.2 and can't browse to any artifacts. When I try
> this, I get the following (example URL:
> http://archiva.nm.cbc.ca/archiva/browse/asm/asm-tree/2.2.1)
>
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Error in JDO during get of Database
> object id [asm:asm-tree:2.2.1] of type
> org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
>
>  org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
>
>  org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
>
>  com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>
>  org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>
>
> The Archiva database is on PostgreSQL.
>
> Can someone help?
>
> - Julian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message