[ 
https://issues.apache.org/jira/browse/JCR-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887957#comment-16887957
 ] 

Julian Reschke edited comment on JCR-4460 at 7/18/19 2:38 PM:
--------------------------------------------------------------

Funny enough, setting `JCRWebdavServerServlet.INIT_PARAM_RESOURCE_PATH_PREFIX` 
as well fixes the issue and lets the test suite pass. Needs more 
investigation...

The problems seems to be caused by the fact that the servlets *ignore* the 
servlet context path, and use this setting instead. There probably was a good 
reason for it's introduction ([~angela], [~fmeschbe]???), so I'm reluctant to 
remove it.

What might be an alternative is to use the servlet context path if and only if 
the the init parameter is not set.


was (Author: reschke):
Funny enough, setting `JCRWebdavServerServlet.INIT_PARAM_RESOURCE_PATH_PREFIX` 
as well fixes the issue and lets the test suite pass. Needs more 
investigation...

> allow to run remoted conformance tests with a custom servlet context path
> -------------------------------------------------------------------------
>
>                 Key: JCR-4460
>                 URL: https://issues.apache.org/jira/browse/JCR-4460
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-jcr2dav
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_jcr_2_16
>             Fix For: 2.20, 2.19.4, 2.18.3
>
>
> Add a system property that selects a servlet context path for testing.
> To run tests with non-root path:
> {noformat}
> mvn clean install -PintegrationTesting -DWebDAVServletContext="/foobar/"
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to