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.
Hi Jerome, is it related to the same problem as in the mail with id 5396BEC0.8020806@dedalus.eu that I wrote 10th of June this year? M.
On 11/09/2014 16:48, Jérôme Chauveau 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.
Hi Marco,
Our problems might be linked. Did you resolve yours?
Jérôme.
Le 11/09/2014 17:33, Marco Lettere a écrit :
Hi Jerome, is it related to the same problem as in the mail with id 5396BEC0.8020806@dedalus.eu that I wrote 10th of June this year? M.
On 11/09/2014 16:48, Jérôme Chauveau 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.
Unfortunately no. I solved temporarily by installing two tomcats which is very much overkill but I did not get the permissions from the sysadmin of that machine to install anything but Tomcat as server software. So still stuck with that issue. M.
On 12/09/2014 09:42, Jérôme Chauveau wrote:
Hi Marco,
Our problems might be linked. Did you resolve yours?
Jérôme.
Le 11/09/2014 17:33, Marco Lettere a écrit :
Hi Jerome, is it related to the same problem as in the mail with id 5396BEC0.8020806@dedalus.eu that I wrote 10th of June this year? M.
On 11/09/2014 16:48, Jérôme Chauveau 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.
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
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
Hi Bridger,
2 wars were renamed, but it did not solved my problem.
Regards.
Jérôme
Le 12/09/2014 18:50, Bridger Dyson-Smith a écrit :
Hi Jerome,
On Thu, Sep 11, 2014 at 10:48 AM, Jérôme Chauveau <jerome.chauveau@unicaen.fr mailto: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
Hi all, yes, I can confirm that on my side too. M.
On 15/09/2014 09:36, Jérôme Chauveau wrote:
Hi Bridger,
2 wars were renamed, but it did not solved my problem.
Regards.
Jérôme
Le 12/09/2014 18:50, Bridger Dyson-Smith a écrit :
Hi Jerome,
On Thu, Sep 11, 2014 at 10:48 AM, Jérôme Chauveau <jerome.chauveau@unicaen.fr mailto: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
-- Jérôme Chauveau - SAIC-CERTIC - Campus 4 Université de Caen Basse-Normandie
basex-talk@mailman.uni-konstanz.de