Hi Jérôme,
I tried to use the HTTPLOCAL flag but i am not able to manage separatly the 2 instances with a basexclient command line tool. How can I manage an HTTPLOCAL instance from a basexclient?
If you set HTTPLOCAL to true, there will be no way to address BaseX via basexclient, because the database server won't be started.
Another solution might be that each webapp instance runs its own basexserver on 2 differents port. How can I set the 1984 default port used by a basex webapp?
This should be possible by editing the web.xml file, as indicated in our Wiki [1].
Personally, I don't have any experience with Tomcat; maybe someone else knows more about it?
Hope this helps (a little), Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
Regards,
Jérôme C.
-- Jérôme Chauveau - SAIC-CERTIC - Campus 4 Université de Caen Basse-Normandie