You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Ivan POPOV (JIRA)" <ji...@codehaus.org> on 2008/04/02 12:20:58 UTC

[jira] Created: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

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


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

        

[jira] Commented: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Ivan POPOV (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129715#action_129715 ] 

Ivan POPOV commented on MRM-761:
--------------------------------

It is a maven 1 repository

<layout>legacy</layout>

> 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.x
>
>
> 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

        

[jira] Closed: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-761.
----------------------------

    Resolution: Fixed

confirmed

> 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

        

[jira] Updated: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-761:
-----------------------------

    Fix Version/s:     (was: 1.0.2)
                   1.0.x

what format is your underlying repository? is it maven1, or maven2?

> 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.x
>
>
> 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

        

[jira] Updated: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-761:
-----------------------------

         Assignee: Brett Porter
    Fix Version/s: 1.0.2

I believe this may already be fixed in 1.0.2-SNAPSHOT - I will confirm

> 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

        

[jira] Closed: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Ivan POPOV (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan POPOV closed MRM-761.
--------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.0.x)
                   1.0.2

I find a workaround only available in 1.0.2.
Just have to install the zip file as groupId/distributions/artifactId-version.zip.

> 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

        

[jira] Commented: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Ivan POPOV (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Reopened: (MRM-761) Exception when trying to retrieve a Maven 1 artifact of type zip

Posted by "Ivan POPOV (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan POPOV reopened MRM-761:
----------------------------


I have just tested the revision 644345 and the problem is not solved.

I try to get  jdk/zips/jre-1.5.0.zip 

and the proxy answer is 
Error 404 Not Found
The following resource does not exist: http://localhost:8080/repository/jdk/distributions/jre-1.5.0.zip

> 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