Hide Forgot
project_key: SOA It is not possible to access multiple repositories at the same through WebDAV interface. Currently only one repository can be accessed at the time through WebDAV interface. Repository name is specified as context parameter in web.xml of ModeShape's WebDAV server, this configuration allows to specify only one repository (and workspace) name at the time.
The default REQUEST_RESOLVER_CLASS_NAME doesn't support multiple repositories. - there are several options to support multiple repositories via webdav: 1. create a request resolver implementation to handle multiple repositories 2. deploy the webdav war, changing the web.xml, for each repository If this is required, then an enhancement will need to be logged, or unless Ken thinks this should be a bug.
Hello Van, lets wait for answer from Ken, I also discussed this with Randall Hauch - he proposed few solutions for this. Solutions proposed by Randall: 1) The workaround would be to unzip the WebDAV WAR, update a property in the web.xml with the correct repository and workspace names, rezip the WebDAV WAR, and then redeploy. This requires no code changes. 2) The "correct" way to solve this would be to add support for the repository name and workspace name in the URL. This requires some code changes (~1 day or less, including docs and tests). Anyway lets wait for answer from Ken.
After a discussion between Randall, Ken and Van, it was decided that an implementation of the request resolver will be done to handle multiple repositories. As for which ER build (3 or 4) it will make, that is not clear at this moment. When discussing the alternatives and the impact to testing, and that this will eventually be done, it was decided that resources would be better spent now.
Link: Added: This issue depends MODE-948
The changes to make this possible (see MODE-948 were implemented and committed to SVN in the 2.2.x branch of ModeShape (in r2385 & r2387). Thus, the repository name and workspace name will appear in the URL, and it is possible to simultaneously support multiple repositories and/or workspaces. However, that issue has not yet been closed because we have project documentation to correct (early next week).
ModeShape has applied the fix to the 2.2.x branch and should be in ER3.
Verified in ER3, accessing multiple repositories at the same was verified through web-browser.