Problem to deploy by WebDAV to Archiva 1.0 alpha 2 running on Tomcat 5.5
Hello. I have problem to run Maven Archiva 1.0 Alpha 2 on Apache Tomcat (5.5.23). I can not deploy artifact to Archiva by webdav. I followed instructions at http://maven.apache.org/archiva/guides/getting-started.html and http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat. But when I deploy artifact (mvn deploy) to repository it ends with following error on client side: -- WAGON_VERSION: 1.0-beta-2 Uploading: http://localhost:8090/archiva/repository/snapshots/gdf4j/maven/maven-parent-pom/1.0.0-SNAPSHOT/maven-parent-pom-1.0.0-20070723.122953-4.pom 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. org.apache.commons.httpclient.HttpException: Unbuffered entity enclosing request can not be repeated. at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:436) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2316) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.putMethod(CorrectedWebdavResource.java:156) at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:287) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:180) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:109) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:77) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:152) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO]
Re: Problem to deploy by WebDAV to Archiva 1.0 alpha 2 running on Tomcat 5.5
We have many reports of issues with Tomcat (especially the combo of Tomcat + Windows) Please provide some details on your environment to help us reproduce these problems. See http://jira.codehaus.org/browse/MRM-333 - Joakim Libor Kramoliš wrote: Hello. I have problem to run Maven Archiva 1.0 Alpha 2 on Apache Tomcat (5.5.23). I can not deploy artifact to Archiva by webdav. I followed instructions at http://maven.apache.org/archiva/guides/getting-started.html and http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat. But when I deploy artifact (mvn deploy) to repository it ends with following error on client side: -- WAGON_VERSION: 1.0-beta-2 Uploading: http://localhost:8090/archiva/repository/snapshots/gdf4j/maven/maven-parent-pom/1.0.0-SNAPSHOT/maven-parent-pom-1.0.0-20070723.122953-4.pom 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. 23.7.2007 14:29:54 org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse INFO: Already tried to authenticate with 'Repository Archiva Managed Snapshot Repository' authentication realm at localhost, but still receiving: HTTP/1.1 401 Authorization Denied. org.apache.commons.httpclient.HttpException: Unbuffered entity enclosing request can not be repeated. at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:436) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2316) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.putMethod(CorrectedWebdavResource.java:156) at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:287) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:180) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:109) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:77) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:152) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at