You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/08/09 16:32:13 UTC

[jira] Commented: (MRM-408) The mvn deploy:deploy-file command gives "Parent doesn't exist" in a fresh install

    [ http://jira.codehaus.org/browse/MRM-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104428 ] 

Brett Porter commented on MRM-408:
----------------------------------

I will take a look at this

> The mvn deploy:deploy-file command gives "Parent doesn't exist" in a fresh install
> ----------------------------------------------------------------------------------
>
>                 Key: MRM-408
>                 URL: http://jira.codehaus.org/browse/MRM-408
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-1
>         Environment: Archiva 0.9-alpha-2 (bin)
>            Reporter: Damon Rand
>            Assignee: Brett Porter
>             Fix For: 1.0-beta-2
>
>
> I'm trying to follow the docs at this page.
>    http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html
> I'm setting security credentials and issuing this command with a pom.xml to include wagon-webdav
>     mvn deploy:deploy-file -DgroupId=com.orbeon -DartifactId=blah -Dversion=3.5.1 -Dpackaging=jar -Dfile=lib/blah.jar -DrepositoryId=3rdp-releases -Durl=http://jerboa.intsec.amnesty.org:8081/archiva/repository/3rdp-releases/
> I get this error message
> [INFO] Error deploying artifact: Failed to transfer file: http://jerboa.intsec.a
> mnesty.org:8081/archiva/repository/3rdp-releases//com/orbeon/blah/3.5.1/blah-3.5
> .1.jar. Return code is: 409
> An ethereal trace shows this request
>    PUT /archiva/repository/3rdp-releases/com/orbeon/blah/3.5.1/blah-3.5.1.jar HTTP/1.1
> And this response..
> <html>
> <head><title>Error 409 Conflict</title></head>
> <body>
> <p><b>Error 409 Conflict</b></p>
> <p>Resource in error: <a href="http://jerboa.intsec.amnesty.org:8081/archiva/repository/com/orbeon/blah/3.5.1/blah-3.5.1.jar/com/orbeon/blah/3.5.1/blah-3.5.1.jar">
> http://jerboa.intsec.amnesty.org:8081/archiva/repository/com/orbeon/blah/3.5.1/blah-3.5.1.jar/com/orbeon/blah/3.5.1/blah-3.5.1.jar</a></p>
> <hr /><p>Exception details:</p>
> <pre>it.could.webdav.DAVException: Parent doesn't exist
> 	at it.could.webdav.DAVResource.write(DAVResource.java:465)
> 	at it.could.webdav.methods.PUT.process(PUT.java:59)
> 	at it.could.webdav.DAVProcessor.process(DAVProcessor.java:79)
> 	at org.codehaus.plexus.webdav.simple.SimpleDavServerComponent.process(SimpleDavServerComponent.java:142)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:156)
> 	at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:111)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> 	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> 	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> 	at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> </pre>
> </body>
> </html>
> Note that request and response are very different..
>   /archiva/repository/3rdp-releases/com/orbeon/blah/3.5.1/blah-3.5.1.jar
>   /archiva/repository/com/orbeon/blah/3.5.1/blah-3.5.1.jar/com/orbeon/blah/3.5.1/blah-3.5.1.jar
> Has anyone got this working? I can't imagine how it could work, at least in the release I have.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira