You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Manuel EVENO (JIRA)" <ji...@codehaus.org> on 2008/08/01 11:53:26 UTC

[jira] Created: (MRM-900) Strange bug with axis dependency

Strange bug with axis dependency
--------------------------------

                 Key: MRM-900
                 URL: http://jira.codehaus.org/browse/MRM-900
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.0.2
         Environment: Apache Archiva 1.0.2
Internet Explorer 7 or Firefox 3
Windows XP SP3
            Reporter: Manuel EVENO
         Attachments: archiva-axis-error.jpg

When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.

Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
{panel}
Error 404 Not Found

The following resource does not exist: http://fornax:8090/repository//axis

org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
	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)
{panel}

Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.

{panel}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) axis:axis-ant:jar:1.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
yId=[id]

  Path to dependency:
        1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
        3) org.apache.ws.security:wss4j:jar:1.5.4
        4) axis:axis-ant:jar:1.4

----------
1 required artifact is missing.

for artifact:
  com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT

from the specified remote repositories:
  external (http://fornax:8090/archiva/repository/external)
{panel}


-- 
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-900) Strange bug with axis dependency

Posted by "Manuel EVENO (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143871#action_143871 ] 

Manuel EVENO commented on MRM-900:
----------------------------------

Good point, that's solved the problem ;)

Thanks a lot !
Manuel


> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143867#action_143867 ] 

Brett Porter commented on MRM-900:
----------------------------------

do you have a leading space on the URL of the remote repository?

> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

Posted by "Manuel EVENO (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143852#action_143852 ] 

Manuel EVENO commented on MRM-900:
----------------------------------

Ok I'll check the log but isn't the returned exception a bit strange ?!?

Why is the repository name removed (The following resource does not exist: http://fornax:8090/repository *//* axis) ?

And I you carefully look at the exception stack trace, I have the feeling that archiva didn't check the presence of the artifact
nor attempt to download it. It seems to fail before where convert url to artifact reference
See :
{code}
at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
{code}


> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143844#action_143844 ] 

Brett Porter commented on MRM-900:
----------------------------------

do you already have the files in the managed repository directory on the filesystem? /axis will give 404 until it is created. On my instance, /axis works (as did getting axis-ant 1.4)

As for the JAR not being found - you'll need to check the logs related to the attempt to get axis-ant as to why that's not working.

> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

Posted by "Manuel EVENO (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143865#action_143865 ] 

Manuel EVENO commented on MRM-900:
----------------------------------

Here is the extracted log file entries talking about axis-ant :
{code}
2008-08-01 20:29:14,949 [SocketListener0-24] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "codehaus" for artifact axis:axis-ant:1.4::pom, continuing to next repository. Error message: Unsupported target repository protocol:  http
2008-08-01 20:29:15,887 [SocketListener0-24] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "codehaus" for artifact axis:axis-ant:1.4::pom, continuing to next repository. Error message: Unsupported target repository protocol:  http
2008-08-01 20:29:16,825 [SocketListener0-24] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "codehaus" for artifact axis:axis-ant:1.4::pom, continuing to next repository. Error message: Unsupported target repository protocol:  http
{code}


> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

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

Brett Porter closed MRM-900.
----------------------------

      Assignee: Brett Porter
    Resolution: Not A Bug

closing as not a bug, since there are separate issues for trimming whitespace from fields

> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>            Assignee: Brett Porter
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

-- 
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-900) Strange bug with axis dependency

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143853#action_143853 ] 

Brett Porter commented on MRM-900:
----------------------------------

yes, the exception and path are wrong - they were already fixed in Archiva 1.1.

It's true it is failing to convert the path to a reference - that would be because it doesn't exist, and it doesn't proxy directories. You would hopefully expect a different error when requesting the artifact itself.

> Strange bug with axis dependency
> --------------------------------
>
>                 Key: MRM-900
>                 URL: http://jira.codehaus.org/browse/MRM-900
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Apache Archiva 1.0.2
> Internet Explorer 7 or Firefox 3
> Windows XP SP3
>            Reporter: Manuel EVENO
>         Attachments: archiva-axis-error.jpg
>
>
> When accessing to our internal maven repository for axis dependency, archiva seems to have a problem with the path layout it considers too short.
> Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis, gives me the following exception :
> {panel}
> Error 404 Not Found
> The following resource does not exist: http://fornax:8090/repository//axis
> org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request path layout, too short.
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
> 	at org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
> 	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)
> {panel}
> Maven seems to have the same problem because it can't get a copy of these dependencies to my local repository.
> {panel}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) axis:axis-ant:jar:1.4
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
> yId=[id]
>   Path to dependency:
>         1) com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
>         3) org.apache.ws.security:wss4j:jar:1.5.4
>         4) axis:axis-ant:jar:1.4
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
> from the specified remote repositories:
>   external (http://fornax:8090/archiva/repository/external)
> {panel}

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