archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szelag, Lukasz" <>
Subject RE: Access denied for a user in a Global Repository Manager role (Archiva 1.3.5)
Date Fri, 21 Oct 2011 22:15:28 GMT
I enabled debugging in Archiva and according to the log it cannot download an existing artifact
from this URL:

(For my test I used the "admin" user; the "external-repository" proxies "Maven Central Repository").

The same URL opens in my browser without a problem (the browser is configured to use the same
proxy configuration as Archiva).

This is clearly a bug. The log follows below.

(I removed proxy host name, port and my username from below log).

2011-10-21 17:46:53,957 ["http-apr-8080"-exec-2] DEBUG org.codehaus.plexus.redback.system.DefaultSecuritySystem
 - User 'admin' authenticated.
2011-10-21 17:46:53,958 ["http-apr-8080"-exec-2] DEBUG org.codehaus.plexus.redback.system.DefaultSecuritySystem
 - User 'admin' exists.
2011-10-21 17:46:53,958 ["http-apr-8080"-exec-2] DEBUG org.codehaus.plexus.redback.system.DefaultSecuritySystem
 - User: username = 'admin'
password = 'null'
encodedPassword = <encoded password>'
fullName = 'Admin'
email = '<email>'
locked = 'false'
permanent = 'true'
validated = 'false'
passwordChangeRequired = 'false'
2011-10-21 17:46:53,969 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.webdav.ArchivaDavResourceFactory
 - Managed repository 'external-releases' accessed by 'admin'
2011-10-21 17:46:53,969 ["http-apr-8080"-exec-2] DEBUG org.codehaus.plexus.redback.rbac.cached.CachedRbacManager
 - building user permission map
2011-10-21 17:46:54,080 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Path [org/apache/maven/plugins/maven-deploy-plugin/2.4/maven-deploy-plugin-2.4.pom] is
not part of defined whitelist (skipping transfer from repository [ Repository for
Maven 2]).
2011-10-21 17:46:54,080 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Applying [releases] policy with [always]
2011-10-21 17:46:54,080 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.policies.AbstractUpdatePolicy
 - OK to update, releases policy set to ALWAYS.
2011-10-21 17:46:54,080 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Applying [snapshots] policy with [never]
2011-10-21 17:46:54,080 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.policies.AbstractUpdatePolicy
 - OK to update, snapshot policy does not apply for non-snapshot versions.
2011-10-21 17:46:54,081 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Applying [cache-failures] policy with [no]
2011-10-21 17:46:54,081 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.policies.CachedFailuresPolicy
 - OK to fetch, check-failures policy set to NO.
2011-10-21 17:46:54,081 ["http-apr-8080"-exec-2] DEBUG
 - Creating instance of bean 'wagon#http'
2011-10-21 17:46:54,098 ["http-apr-8080"-exec-2] DEBUG
 - Finished creating instance of bean 'wagon#http'
2011-10-21 17:46:54,099 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Using network proxy <proxy host and port> to connect to remote repository;
as user: <my proxy user>

2011-10-21 17:46:54,102 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Retrieving org/apache/maven/plugins/maven-deploy-plugin/2.4/maven-deploy-plugin-2.4.pom
from Central Repository
2011-10-21 17:46:54,704 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Applying [propagate-errors] policy with [queue error]
2011-10-21 17:46:54,705 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Applying [propagate-errors-on-update] policy with [artifact not already present]
2011-10-21 17:46:54,707 ["http-apr-8080"-exec-2] WARN  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Transfer error from repository "central" for artifact org.apache.maven.plugins:maven-deploy-plugin:2.4::pom,
continuing to next repository. Error message: Download failure on resource []:Access
denied to:
2011-10-21 17:46:54,709 ["http-apr-8080"-exec-2] DEBUG org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
 - Full stack trace
org.apache.maven.archiva.proxy.ProxyException: Download failure on resource []:Access
denied to:
	at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferSimpleFile(
	at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferFile(
	at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(
	at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.fetchContentFromProxies(
	at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepository(
	at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(
	at org.apache.maven.archiva.webdav.RepositoryServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(

This message w/attachments (message) is intended solely for the use of the intended recipient(s)
and may contain information that is privileged, confidential or proprietary. If you are not
an intended recipient, please notify the sender, and then please delete and destroy all copies
and attachments, and be advised that any review or dissemination of, or the taking of any
action in reliance on, the information contained in or attached to this message is prohibited.

Unless specifically indicated, this message is not an offer to sell or a solicitation of any
investment products or other financial product or service, an official confirmation of any
transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept,
monitor, review and retain e-communications (EC) traveling through its networks/systems and
may produce any such EC to regulators, law enforcement, in litigation and as required by law.

The laws of the country of each sender/recipient may impact the handling of EC, and EC may
be archived, supervised and produced in countries other than the country in which you are
located. This message cannot be guaranteed to be secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities
and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value
* Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not
Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional
important disclosures and disclaimers, which you should read. This message is subject to terms
available at the following link: By messaging with Sender you consent to the

View raw message