Thanks for your reply, comments below:

On Fri, Nov 27, 2015 at 10:15 AM, Konstantin Kolinko
<knst.koli...@gmail.com> wrote:
> What is your goal, your expectation of Tomcat? What these n instances
> should do that 1 instance cannot?

They are running cpu-intensive calculations on distributed hosts
("high perfomance computing"), so that all hosts share the CPU and RAM
requirements. Tomcat will allow interaction with the MPI application
through the internet.

> Is is possible to start several Tomcats with the same CATALINA_BASE in
> parallel, but you have to
> ...
> A connector can be configured, reconfigured, started/stopped
> programmatically via JMX.

Any suggestion how I can accomplish the configuration, if I start
tomcat with the MPI web application using "mpirun -n 2 java ..." so
that only the first MPI process opens the tomcat communication ports,
while all other MPI processes disable their communicators?

As an alternative I can run the MPI application as a separate server
(tested across 16 hosts already), and use tomcat as a (serial) client
to this parallel server. The disadvantage is that huge amounts of data
need to be processed another time instead of being served directly
from the MPI application.

Which solution do you suggest?

Thank you
Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to