Bug 780047 (SOA-2412) - Accessing more repositories at the same time through WebDAV interface is not possible
Summary: Accessing more repositories at the same time through WebDAV interface is not ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2412
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.ER3
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-12 15:30 UTC by Boris Belovic
Modified: 2010-11-04 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-04 16:44:57 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2412 0 None None None Never

Description Boris Belovic 2010-10-12 15:30:08 UTC
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.

Comment 1 Van Halbert 2010-10-12 17:05:45 UTC
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.

Comment 2 Boris Belovic 2010-10-12 22:02:29 UTC
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.

Comment 3 Van Halbert 2010-10-13 15:11:33 UTC
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.

Comment 4 Van Halbert 2010-10-13 15:19:09 UTC
Link: Added: This issue depends MODE-948


Comment 5 Randall Hauch 2010-10-14 05:27:24 UTC
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).

Comment 6 Van Halbert 2010-10-19 13:59:36 UTC
ModeShape has applied the fix to the 2.2.x branch and should be in ER3.

Comment 7 Boris Belovic 2010-11-04 16:44:57 UTC
Verified in ER3, accessing multiple repositories at the same was verified through web-browser.


Note You need to log in before you can comment on or make changes to this bug.