Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Igal Sapir
Chris, On Thu, Nov 1, 2018 at 10:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > > On 11/1/18 12:06, Igal Sapir wrote: > > On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) > > wrote: > > > >> On 01.11.2018 14:51, Christopher Schultz wrote: > >>> We assign each dev a numbe

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igal, On 11/1/18 12:06, Igal Sapir wrote: > On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) > wrote: > >> On 01.11.2018 14:51, Christopher Schultz wrote: >>> We assign each dev a number and each application a number. Each >>> pair of dev+app

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Igal Sapir
On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) wrote: > On 01.11.2018 14:51, Christopher Schultz wrote: > > We assign each dev a number and each application a number. Each pair > > of dev+app yields an actual port number. This works great in > > development so nobody ever steps on anyone's

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread tomcat
On 01.11.2018 14:51, Christopher Schultz wrote: We assign each dev a number and each application a number. Each pair of dev+app yields an actual port number. This works great in development so nobody ever steps on anyone's toes. In other environments (test, prod, etc.) there is only ever one "dev

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Christopher Schultz
loyment strategies are typically very environment-specific. - -chris > -Original Message- From: Christopher Schultz > Sent: Wednesday, October 31, 2018 > 9:29 AM To: users@tomcat.apache.org Subject: Re: Number of Web > Applications in one Tomcat: THANKS! > > Guido, &

RE: Number of Web Applications in one Tomcat: THANKS!

2018-10-31 Thread George Stanchev
SSL, JNDI configuration, etc? Any blogs to such approach? -Original Message- From: Christopher Schultz Sent: Wednesday, October 31, 2018 9:29 AM To: users@tomcat.apache.org Subject: Re: Number of Web Applications in one Tomcat: THANKS! -BEGIN PGP SIGNED MESSAGE- Hash: SHA256

Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guido, On 10/31/18 05:14, Jäkel, Guido wrote: >> Has anyone ever attacked one of your web applications? There are >> some fun ways to make an application use a huge amount of memory. >> Just because the applications themselves are behaving doesn't >

Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tarek, On 10/31/18 03:19, Ahmed, Tarek wrote: > Christopher, > > Am 30.10.18 um 18:30 schrieb Christopher Schultz: > >> Has anyone ever attacked one of your web applications? There are >> some fun ways to make an application use a huge amount of m

Re: Number of Web Applications in one Tomcat

2018-10-31 Thread logo
Tarek, Am 30.10.2018 14:39, schrieb Ahmed, Tarek: Am 30.10.18 um 13:13 schrieb logo: Mark, DEV (one webapp per tomcat) - Start-up time of "fat tomcats" multiplies, which leads to worsened availablity (e.g., our fattest tomcat contains 32 web services. It takes 4 minutes to start) You can

RE: Number of Web Applications in one Tomcat: THANKS!

2018-10-31 Thread Jäkel , Guido
>Has anyone ever attacked one of your web applications? There are some >fun ways to make an application use a huge amount of memory. Just >because the applications themselves are behaving doesn't mean that all >the users are behaving. > >For example, do you have a max POST size set for your applica

Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-31 Thread Ahmed, Tarek
Christopher, Am 30.10.18 um 18:30 schrieb Christopher Schultz: > Has anyone ever attacked one of your web applications? There are some > fun ways to make an application use a huge amount of memory. Just > because the applications themselves are behaving doesn't mean that all > the users are behav

Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tarek, On 10/30/18 03:13, Ahmed, Tarek wrote: > Thanks for your input! > > To summarize: Most of us seem to prefer not to have too many web > applications running in one tomcat instance. If, however, it is > possible to run a tomcat with many appl

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread Torsten Krah
Am Dienstag, den 30.10.2018, 15:13 + schrieb Jäkel, Guido: > I'm pretty sure that this problem is just caused by malformed > applications that include some XML stuff inside the application that > MUST NOT include, but have to be provided instead by the platform -- > e.g. as JVM endorsed libs. A

RE: Number of Web Applications in one Tomcat

2018-10-30 Thread Jäkel , Guido
>-Original Message- >From: Torsten Krah [mailto:krah...@gmail.com] >Sent: Tuesday, October 30, 2018 2:55 PM >To: users@tomcat.apache.org >Subject: Re: Number of Web Applications in one Tomcat > >Am Dienstag, den 30.10.2018, 14:39 +0100 schrieb Ahmed, Tarek: >> &

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread Torsten Krah
Am Dienstag, den 30.10.2018, 14:39 +0100 schrieb Ahmed, Tarek: > "With Tomcat 7.0.23+ you can configure it to start several web > applications in parallel. This is disabled by default but can be > enabled > by setting the startStopThreads attribute of a *Host* to a value > greater > than one." But

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread Ahmed, Tarek
Am 30.10.18 um 13:13 schrieb logo: > Mark, > > > >>> DEV (one webapp per tomcat) >>> >>> - Start-up time of "fat tomcats" multiplies, which leads to worsened >>> availablity (e.g., our fattest tomcat contains 32 web services. It >>> takes >>> 4 minutes to start) >> >> You can configure Tomcat to l

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread logo
Mark, DEV (one webapp per tomcat) - Start-up time of "fat tomcats" multiplies, which leads to worsened availablity (e.g., our fattest tomcat contains 32 web services. It takes 4 minutes to start) You can configure Tomcat to load applications in parallel to reduce this impact. do you

[OT] Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-30 Thread tomcat
On 30.10.2018 08:13, Ahmed, Tarek wrote: Thanks for your input! To summarize: Most of us seem to prefer not to have too many web applications running in one tomcat instance. If, however, it is possible to run a tomcat with many applications in a stable way it reduces administrative overhead to d

Re: Number of Web Applications in one Tomcat: THANKS!

2018-10-30 Thread Ahmed, Tarek
Thanks for your input! To summarize: Most of us seem to prefer not to have too many web applications running in one tomcat instance. If, however, it is possible to run a tomcat with many applications in a stable way it reduces administrative overhead to do so. The prerequisites for this are that t

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Igal Sapir
Tarek, On 10/29/2018 2:04 AM, Leon Rosenberg wrote: Clearly one webapp per tomcat. Makes everything easier. Also, if your apps aren't really tiny, the memory overhead of tomcat is minimal compared to the advantages. +1 On 10/29/2018 6:39 AM, Christopher Schultz wrote: I usually deploy one w

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Mark H. Wood
On Mon, Oct 29, 2018 at 09:00:27AM +0100, Ahmed, Tarek wrote: > TLDR? Do you deploy one web application per tomcat instance or several? We have one production host with several related webapp.s in a single Tomcat instance, and another production host with three instances of that same single produc

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tarek, On 10/29/18 04:00, Ahmed, Tarek wrote: > Hi all, > > TLDR? Do you deploy one web application per tomcat instance or > several? I usually deploy one webapp per JVM/tomcat instance. I do this so that a problem in one webapp doesn't take-down

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Ahmed, Tarek
sorry, didn't send this to the list, but to mark's address, t. Am 29.10.18 um 10:18 schrieb Mark Thomas: > On 29/10/18 08:00, Ahmed, Tarek wrote: > >> DEV (one webapp per tomcat) >> >> - Start-up time of "fat tomcats" multiplies, which leads to worsened >> availablity (e.g., our fattest tomcat con

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Mark Thomas
On 29/10/18 08:00, Ahmed, Tarek wrote: > Hi all, > > TLDR? Do you deploy one web application per tomcat instance or several? No firm opinion one way or the other, just some commentary. > --- > > The long story: > > I'd like to sound out your opinion regarding the number of

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Olaf Kock
On 29.10.18 09:00, Ahmed, Tarek wrote: TLDR? Do you deploy one web application per tomcat instance or several? As you list the arguments quite well, I'd add my answer "it depends": General rule of thumb, to be executed in that order: If they're too few applications to worry about (and if th

Re: Number of Web Applications in one Tomcat

2018-10-29 Thread Leon Rosenberg
Clearly one webapp per tomcat. Makes everything easier. Also, if your apps aren't really tiny, the memory overhead of tomcat is minimal compared to the advantages. Leon On Mon, Oct 29, 2018 at 9:00 AM Ahmed, Tarek wrote: > Hi all, > > TLDR? Do you deploy one web application per tomcat instance

RE: Number of Web Applications in one Tomcat

2018-10-29 Thread PURVIS, Robert (NHS DIGITAL)
pur...@nhs.net> From: Ahmed, Tarek Sent: 29 October 2018 08:00 To: users@tomcat.apache.org Subject: Number of Web Applications in one Tomcat Hi all, TLDR? Do you deploy one web application per tomcat instance or several? --- The long story: I'd like to sound out y

Number of Web Applications in one Tomcat

2018-10-29 Thread Ahmed, Tarek
Hi all, TLDR? Do you deploy one web application per tomcat instance or several? --- The long story: I'd like to sound out your opinion regarding the number of web applications deployed in one tomcat instance. The reason is, that at my place of work the developers prefer one