It depends. The one jvm scenario has the possibility of hurting other customers since one webapp could (try to) hurt another via starvation, resource hogging etc. But even in diferent jvms, this could be an issue, but possibly easier to manage.

Personally, I would put each customer in their own instance. But that also assumes a very small amount of customers. Since many tomcat instances can cause you to run out of memory quickly.

-Tim

Thomas Reiter wrote:

Hi,

We are running apache serving multiple virtual hosts.
Some of the domains are combined with a java webapp.
For now we have the following structure for this
{TOMCAT_HOME}/webapps/customer_1
{TOMCAT_HOME}/webapps/customer_2
....
The applications are mapped via mod_jk to the coresponding virtual host.

My question is:
Is it a good idea to run multiple apps on one instance or should we use
one instance for each application ?
Has some one expirience about this ?
How should Tomcat run in a "provider environment" ?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to