[ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129563#action_129563 ]
Ivan POPOV commented on MRM-761: -------------------------------- It seems to be similar to this issue http://jira.codehaus.org/browse/MRM-481 but it has been fixed in 1.0-beta-3 so .... > Exception when trying to retrieve a Maven 1 artifact of type zip > ---------------------------------------------------------------- > > Key: MRM-761 > URL: http://jira.codehaus.org/browse/MRM-761 > Project: Archiva > Issue Type: Bug > Affects Versions: 1.0.1 > Reporter: Ivan POPOV > Assignee: Brett Porter > Fix For: 1.0.2 > > > Through my browser, I try to access my artifact : > the url is > http://localhost:8080/archiva/repository/maven1/jdk/zips/jre-1.0.zip > and the exception is > Error 404 Not Found > The following resource does not exist: > http://localhost:8080/repository/jdk/distributions/jre-1.0.zip > org.apache.maven.archiva.repository.layout.LayoutException: Invalid path to > Artifact: mismatch on extension [zip] and layout specified type > [distributions] (which maps to extension: [distribution]) on path > [jdk/distributions/jre-1.0.zip] > at > org.apache.maven.archiva.repository.content.LegacyPathParser.toArtifactReference(LegacyPathParser.java:190) > at > org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:135) > at > org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:281) > at > org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:193) > at > org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119) > at > org.apache.maven.archiva.web.repository.RepositoryServlet.service(RepositoryServlet.java:155) > 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) > The artifact has been correctly deployed on archiva and what is strange is > that it tries to access > jdk/distributions/jre-1.0.zip instead of jdk/zips/jre-1.0.zip > If I install my artifact under le directory jdk/distributions, this don't > solve the problem and > if I try to retrieve the artifact with maven it fails too. -- 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