Hello,
I'm successfully installed tomcat6, archiva and apache with  mod_jk. In
the browser it all work fine, I can use http or https to access the
archiva website.

But how do I configure the maven deploy plugin to use the mod_jk bridge?
I tryed just use http://my.domain.com but I get the error:

[INFO] Error retrieving previous build number for artifact
'com.deventm.gscal:gscal-batch-parent:pom': repository metadata for:
'snapshot com.deventm.gscal:gscal-batch-parent:0.0.1-SNAPSHOT' could not
be retrieved from repository: archiva-deventm due to an error:
Authorization failed: Not authorized.

So I try to access it directly with
http://my.domain.com/archiva/repository/internal/

I see the login-dialog from the web server 
A username and password are being requested by http://my.domain.com. The
site says: "Repository Archiva Managed internal Repository"

But I can't login with my username and password. The username/password
works fine in the archiva website. If I go directly to tomcat
http://my.domain.com:8080/archiva/repository/internal/
I can login and see all the content.

The archiva.log is:
009-01-02 11:05:37,940 [TP-Processor3] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied [ip=127.0
.0.1,isWriteRequest=false,permission=archiva-read-repository,repo=internal] : 
no matching permissions

The catalina.out is:
Jan 2, 2009 10:38:30 AM
com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
INFO: Detected AnnotationActionValidatorManager, initializing it...

The mod_jk.conf is:

<VirtualHost *>

    JkMount /manager worker1
    JkMount /manager/* worker1

    JkMount /archiva worker1
    JkMount /archiva/* worker1

    JkMount /examples worker1
    JkMount /examples/* worker1

    JkMount /host-manager worker1
    JkMount /host-manager/* worker1
</VirtualHost>

Looking for help, Erwin.

Reply via email to