Archiva

404 when the dav url of an Archiva default repository (internal or snapshots) is accessed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: 1.0.2, 1.1
  • Fix Version/s: 1.1
  • Labels:
    None
  • Environment:
    Tomcat 6.0.14
    Ubuntu Linux 7.04
    Maven 2.0.8
  • Number of attachments :
    0

Description

To reproduce:
1. Install Archiva as a war. In this case, I used Tomcat.
2. Start the server
3. Go to the Repositories page and click the Webdav URL of any of the default repositories.
4. This results to 'HTTP Status 404 - Not a valid request path layout, too short.'

This is caused by the 'location' (/data/repositories/snapshots and /data/repositories/internal) set in the default repositories. When I changed the location to '../data/repositories/internal', it became [TOMCAT_INSTALLATION]/data/repositories/internal when the config was saved and the repository can now be browsed via the webdav url. Maybe we should change the default to '../data/repositories/internal'. But we should also take note that MRM-789 won't happen.

Activity

Hide
Maria Odea Ching added a comment -

This also affects 1.0.2, only the error message is different because of the migration of the webdav module. The error was 'HTTP Status 404 - [snapshots] Not Found (Likely Unconfigured).'

Show
Maria Odea Ching added a comment - This also affects 1.0.2, only the error message is different because of the migration of the webdav module. The error was 'HTTP Status 404 - [snapshots] Not Found (Likely Unconfigured).'
Hide
Maria Odea Ching added a comment -

Not really a bug.. user just have to make sure that appserver.base is set to a correct path in CATALINA_OPTS env var so that the repo path is correct.

Show
Maria Odea Ching added a comment - Not really a bug.. user just have to make sure that appserver.base is set to a correct path in CATALINA_OPTS env var so that the repo path is correct.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: