If you need a thumb rule, you usually choose multiple instances over single. Downside is, I think, it only uses little more memory. But else than that multiple instance is much better choice.
I ran into exactly same issue. But I changed my application instead of running it multiple times. I separated databases for each users then routed them accordingly. Edited some logics but now every user has their own "workspaces" but single app. It is much easier now to develop & maintain. This also could be an option. On Tue, Nov 20, 2012 at 5:42 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Chuck, > > On 11/19/12 3:58 PM, Caldarale, Charles R wrote: > >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > >> Subject: Re: multiple tomcat instances for every application > > > >> Most JVMs use shared memory for some things like core classes, > >> etc. > > > > Unfortunately, I don't think that's true, at least for the > > Sun/Oracle JVMs - only the client JVM uses shared classes, the > > server JVM does not. > > Oh, I didn't realize that was a -client thing. Good to know. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iEYEARECAAYFAlCqp9UACgkQ9CaO5/Lv0PB70QCeIT8otERge/iDUs9XHAGdHa/5 > beMAoJ7RcLZ3U7wsnVI3oC9AM7Y+O8gz > =g6a7 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >