Hi Jerome,


On Thu, Sep 11, 2014 at 10:48 AM, Jérôme Chauveau <jerome.chauveau@unicaen.fr> wrote:
Hi,

i would like to run 2 separate war instances in the same Tomcat server.
Each instance must embbed its own data repository.

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?

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?

Regards,

Jérôme C.

--
Jérôme Chauveau - SAIC-CERTIC - Campus 4
Université de Caen Basse-Normandie


This probably a very incorrect approach to dealing with this problem, but would renaming the instances work for you? E.g.

tomcat/
    webapps/
        baseX1/
        baseX1.war
        baseX2/
        baseX2.war

This may be a really bad idea - I'm not sure, I've done no real work with the BaseX webapp (yet), so I don't know if the basexclient tool will still manage both instances.

Best,
Bridger