On 06/09/2015 03:48 PM, Christian GrĂ¼n wrote:
It would be interesting to see what other Tomcat users think about this. My experience with Tocat is rather limited, but I am not sure if your scenario could really work out.
I also look forward to the views of some other users who use multiple BaseX applications simultaneously. The problem is not just to the Tomcat, but is valid to any Java web application server, including Jetty.
In the configurations tested by us, all is well if we have one single restxqpath and a structure that looks like this:
-webapps -basex -xqrepo -xq_app1 -xq_app2 -xq_app3 -bxapp1 -bxapp2 -bxapp3
And, in web.xml:
<context-param> <param-name>org.basex.restxqpath</param-name> <param-value>../xqrepo</param-value> </context-param>
It's uncomfortable to work in this mode, but if there's no other solution, we try to go forward on this way.
Thanks again, Ioan