Any specific message in archiva.log?
Maybe as you manipulate users/roles you can probably try flushing the cache.


On 29 May 2014 00:04, Angel Galindo Muñoz <[email protected]> wrote:
>
>   Hi!
>
>   I tried to deploy archiva 2.0.1 on WebLogic 12 and I'm having problems: 
> After setting the JNDI DataSources the management interface finaly worked, 
> but when I try to upload an artifact via Maven ("mvn deploy") I always get 
> this error:
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on 
> project myArtifactId: Failed to retrieve remote metadata 
> myGroupId:myArtifactId:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer 
> metadata myGroupId:myArtifactId:1.0-SNAPSHOT/maven-metadata.xml from/to 
> myRepositoryName 
> (http://myweblogicserver:7001/apache-archiva-2.0.1/repository/myRepositoryName/):
>  Not authorized, ReasonPhrase:Unauthorized. -> [Help 1]
>
>   I tried it in two ways:
>
>   *   using the "admin" account to deploy the artifact on the default 
> "snapshots" repository.
>   *   creating a new repository, a new account, authorizing him and using 
> these new credentials with Maven (there's no problem creating the user, repo 
> or authoritzation)
>
>   Trying to discard newbie mistakes I also deployed an standalone archiva 
> 2.0.1 on other box, followed the same steps and it works like a charm: I 
> could upload artifacts with both users towards both repositories.
>
>   Can anybody help me, please?
>   Thanks a lot and best regards,
>
> / Angel
>
> --
> Ángel Galindo Muñoz
> Sistemes i Explotació
> Àrea de Tecnologies
> Universitat de Barcelona
>
> Pavelló Rosa, planta baixa
> Travessera de les Corts, 131-159
> 08028 Barcelona
> Tel.: +34 93 403 5943
>
>
> Aquest correu electrònic i els annexos poden contenir informació confidencial 
> o protegida legalment i està adreçat exclusivament a la persona o entitat 
> destinatària. Si no sou el destinatari final o la persona encarregada de 
> rebre'l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, 
> distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest 
> correu electrònic per error, us preguem que n'informeu al remitent i que 
> elimineu del sistema el missatge i el material annex que pugui contenir. 
> Gràcies per la vostra col·laboració.
>
> Este correo electrónico y sus anexos pueden contener información confidencial 
> o legalmente protegida y está exclusivamente dirigido a la persona o entidad 
> destinataria. Si usted no es el destinatario final o la persona encargada de 
> recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, 
> copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico 
> por error, le rogamos que informe al remitente y elimine del sistema el 
> mensaje y el material anexo que pueda contener. Gracias por su colaboración.
>
> This email message and any documents attached to it may contain confidential 
> or legally protected material and are intended solely for the use of the 
> individual or organization to whom they are addressed. We remind you that if 
> you are not the intended recipient of this email message or the person 
> responsible for processing it, then you are not authorized to read, save, 
> modify, send, copy or disclose any of its contents. If you have received this 
> email message by mistake, we kindly ask you to inform the sender of this and 
> to eliminate both the message and any attachments it carries from your 
> account. Thank you for your collaboration.



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to