Dear Ioan,
-webapps -basex -bxapp1 -xqrepo1 -bxapp2 -xqrepo2 -bxapp3 -xqrepo3
I see.. So you would like to have a single BaseX instance and three or more web applications that only contain webapp contents (restxq, repo, maybe database directories), right?
I don't think it can be done that easily right now, and I am not sure either how this would be done with any other Java web applications. Is there any particuar reason why would you want to avoid having more than one BaseX instance (apart from the issues discussed on previous posts)? What do the "xqrepo" directories contain?
Cheers, Christian
We managed to make this model functional only if all 3 repositories we have put them together: or directly under BaseX, or in a separate application and setting according to this the path in context-param/restxqpath in web.xml.
But we want it so that each application to contain they repo. How?
It would be possible to set in web.xml, to restxqpath, a list of several repo? Or from somewhere to be told from where to load such a list? Maybe this would be an easier solution. It implies some security problems or other constraints? We looked a bit by sources, but not have identified which part it handles this.
Is welcomed any other idea.
Regarding CACHERESTXQ and .ignore: These features are already available in that snapshot as well (but they will only be officially announced with 8.3). Unless you don't build more complex RESTXQ applications, you won't probably need to care about these features.
Hope this helps, Christian
We tried this last version and, indeed, for what we want does not help us.
Many thanks for your understanding!
Ioan