Maven1 requests are not served ------------------------------ Key: MRM-308 URL: http://jira.codehaus.org/browse/MRM-308 Project: Archiva Issue Type: Bug Affects Versions: 1.0 Environment: using latest version from SVN: revision 521221 archiva running on Tomcat-5.5.17
Reporter: Joerg Vater I got one managed repository with two proxied repositories, one for our locally built artifacts and the central repository. When I try to retreive an artifact with maven2 path layout (e.g. ant/ant/1.6.5/ant-1.6.5.jar) everything works fine. When I try to retreive the same artifact with maven1 path layout (ant/jars/ant-1.6.5.jar) the jar gets downloaded from the proxied repository but is not delivered to the client. Client response is a 404 (s. below). In the local directory it is stored with the maven2 path layout -- log output: 2007-03-22 12:20:51,278 4594195 [http-9080-Processor24] DEBUG org.apache.maven.archiva.proxy.ProxyRequestHandler:default - Artifact requested is: ant:ant:jar:1.6.5:runtime 2007-03-22 12:20:51,279 4594196 [http-9080-Processor24] DEBUG org.apache.maven.archiva.proxy.ProxyRequestHandler:default - Retrieving ant/ant/1.6.5/ant-1.6.5.pom from ComBOTS Maven2 Repository 2007-03-22 12:20:51,279 4594196 [http-9080-Processor24] DEBUG org.apache.maven.archiva.proxy.ProxyRequestHandler:default - Artifact not found in repository: ComBOTS Maven2 Repository: File: /data/maven-repo/combots-maven2-repo/ant/ant/1.6.5/ant-1.6.5.pom does not exist 2007-03-22 12:20:51,281 4594198 [http-9080-Processor24] DEBUG org.apache.maven.archiva.proxy.ProxyRequestHandler:default - Retrieving ant/ant/1.6.5/ant-1.6.5.pom from Maven2 Central Repository 2007-03-22 12:20:51,728 4594645 [http-9080-Processor24] DEBUG org.apache.maven.archiva.proxy.ProxyRequestHandler:default - Successfully downloaded -- http response: Error 404 Not Found Resource in error: http://mavenproxy:9080/archiva/repository/ant/jars/ant-1.6.5.jar/ant/jars/ant-1.6.5.jar Exception details: it.could.webdav.DAVException: Not found at it.could.webdav.methods.HEAD.process(HEAD.java:52) at it.could.webdav.methods.GET.process(GET.java:58) 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:147) at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) -- 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