You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Vincent LE SQUERE <vi...@gmail.com> on 2008/05/16 17:07:14 UTC

pb redirect url archiva 1.0.2

Hello,
  i'm a beginner on archiva.
  the installation is ok, i've deploy a maven site on my repository and i
can see all the folders.
  i access my repository with http://myIP:8080/archiva/repository/MyRepo
  i can walk through the folders without problems
  The problem appears when i try to see a file, it happens :

Error 404 Not Found

The following resource does not exist:
http://myIP:8080/repository//basic.xml<http://192.168.0.25:8080/repository//basic.xml>

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)



why this redirection and how to solve it ?
i just want to have
http://myIP:8080/archiva/repository/MyRepo/basic.xml instead

thanks for helping

Re: pb redirect url archiva 1.0.2

Posted by "vincent.lesquere" <vi...@gmail.com>.
Ok, i thought that archiva could give access to things other than
artifacts...
that's a mistake i made.

thanks for response

Brett Porter wrote:
> 
> Yeah, the repository is not designed to house things other than
> artifact repositories, not generic webdav shares.
> 
> Is anyone of the opinion that we should change that?
> 
> Cheers,
> Brett
> 
> 2008/5/19 Wendy Smoak <ws...@gmail.com>:
>> On Fri, May 16, 2008 at 8:07 AM, Vincent LE SQUERE
>> <vi...@gmail.com> wrote:
>>>  i'm a beginner on archiva.
>>>  the installation is ok, i've deploy a maven site on my repository and i
>>> can see all the folders.
>>
>> Deployed a maven site, as in "mvn site:deploy" ?
>>
>>>  i access my repository with http://myIP:8080/archiva/repository/MyRepo
>>>  i can walk through the folders without problems
>>>  The problem appears when i try to see a file, it happens :
>>> Error 404 Not Found
>>> The following resource does not exist:
>>> http://myIP:8080/repository//basic.xml<http://192.168.0.25:8080/repository//basic.xml>
>>
>> When does this happen?  When you click a link that Archiva displays on
>> a page?  What is the URL you're viewing then?
>>
>> That (basic.xml) doesn't look like a filename I'd expect to be in a
>> Maven repo...
>>
>> --
>> Wendy
>>
> 
> 
> 
> -- 
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
> 
> 

-- 
View this message in context: http://www.nabble.com/pb-redirect-url-archiva-1.0.2-tp17298974p17353023.html
Sent from the archiva-users mailing list archive at Nabble.com.


Re: pb redirect url archiva 1.0.2

Posted by Brett Porter <br...@gmail.com>.
Yeah, the repository is not designed to house things other than
artifact repositories, not generic webdav shares.

Is anyone of the opinion that we should change that?

Cheers,
Brett

2008/5/19 Wendy Smoak <ws...@gmail.com>:
> On Fri, May 16, 2008 at 8:07 AM, Vincent LE SQUERE
> <vi...@gmail.com> wrote:
>>  i'm a beginner on archiva.
>>  the installation is ok, i've deploy a maven site on my repository and i
>> can see all the folders.
>
> Deployed a maven site, as in "mvn site:deploy" ?
>
>>  i access my repository with http://myIP:8080/archiva/repository/MyRepo
>>  i can walk through the folders without problems
>>  The problem appears when i try to see a file, it happens :
>> Error 404 Not Found
>> The following resource does not exist:
>> http://myIP:8080/repository//basic.xml<http://192.168.0.25:8080/repository//basic.xml>
>
> When does this happen?  When you click a link that Archiva displays on
> a page?  What is the URL you're viewing then?
>
> That (basic.xml) doesn't look like a filename I'd expect to be in a
> Maven repo...
>
> --
> Wendy
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: pb redirect url archiva 1.0.2

Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, May 16, 2008 at 8:07 AM, Vincent LE SQUERE
<vi...@gmail.com> wrote:
>  i'm a beginner on archiva.
>  the installation is ok, i've deploy a maven site on my repository and i
> can see all the folders.

Deployed a maven site, as in "mvn site:deploy" ?

>  i access my repository with http://myIP:8080/archiva/repository/MyRepo
>  i can walk through the folders without problems
>  The problem appears when i try to see a file, it happens :
> Error 404 Not Found
> The following resource does not exist:
> http://myIP:8080/repository//basic.xml<http://192.168.0.25:8080/repository//basic.xml>

When does this happen?  When you click a link that Archiva displays on
a page?  What is the URL you're viewing then?

That (basic.xml) doesn't look like a filename I'd expect to be in a
Maven repo...

-- 
Wendy