archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joakim Erdfelt <joa...@erdfelt.com>
Subject Re: Newbie: Failed pre-download policies
Date Mon, 06 Aug 2007 14:47:37 GMT
There appears to be a problem with your cache-failures policy.

Set it to ignored (or disabled) and try again.

- Joakim

Antonio Parolini wrote:
> Hello,
>
> I'm trying to configure archiva following the getting started doc, but I
> cannot get Archiva to cache the central repo. When I ask for this url:
>
> http://znjupiter:8080/archiva/repository/internal/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar
>
> I see the following log in archiva. What this "Failed pre-download policies"
> error message is about  ?
>
> Thanks ,
>
> toni
>
> 14184735 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
> Attempting connector: ProxyConnector[
>  
> source:ArchivaRepository[internal,file:/home/Jboss/jbossadm/archiva/repositories/internal/]
>   target:ArchivaRepository[central,http://repo1.maven.org/maven2]
>   proxyId:
>   policy[releases]:once
>   policy[checksum]:fix
>   policy[snapshots]:disabled
>   policy[cache-failures]:cache
> ]
> 14184737 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Using
> target repository: central - layout: default - targetPath:
> org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar
> 14184737 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Applying
> [releases] policy with [once]
> 14184738 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to update
> releases, local file does not exist.
> 14184739 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Applying
> [snapshots] policy with [disabled]
> 14184739 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK to
> update, snapshot policy does not apply for non-snapshot versions.
> 14184739 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Applying
> [cache-failures] policy with [cache]
> 14184740 [SocketListener0-0] ERROR
> org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
> Unknown checksum policyCode [cache]
> 14184740 [SocketListener0-0] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Didn't
> pass the [cache-failures] policy.
> 14184740 [SocketListener0-0] INFO 
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Failed
> pre-download policies -
> /home/Jboss/jbossadm/archiva/repositories/internal/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar
>
>
>   


-- 
- Joakim Erdfelt
  joakim@erdfelt.com
  Open Source Software (OSS) Developer


Mime
View raw message