Deploy site application inside nested context path

Hi,

does anyone have an experience with deploying site application inside nested context path (i.e. mydomain.com/myApp/home)?

I know I can configure hosts and sitemap in JCR for “/myApp/home” path to take me to any page I want, but in my case path “mydomain.com/myApp” is already taken by some other application and I would like for my site application to live under “mydomain.com/myApp/home”. For one, I would like webfiles to be accesible under “mydomain.com/myApp/home/webfiles/…”.

I tried with changing site’s war filename from “myApp.war” to “myApp#home.war”, but I get errors when processing sitemap items:

“POSSIBLE WASTE DETECTED : Component gets rendered but never adds anything to the response…”.

When I changed webfilebundle (\repository-data\webfiles\src\main\resources\hcm-config\main.yaml) from “myApp” to “myApp/home”, it gives me another error inside “WebFilesServiceImpl”:

Cannot instantiate web file bundle because it does not point to a node of type 'webfiles:bundle"

Regards,
Blaž