>-----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:
>> "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 be aware that you may run into problem with this one - look e.g.
>here:
>
>https://www.mail-archive.com/users@tomcat.apache.org/msg127141.html
>
>Cheers
>
>Torsten

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 common 
case is that application A provide and register some implementation of an API 
at JVM level and application B provide this also, but with another version. 
Then, one of the application will use at runtime another lib as at compile time.

Without parallel start, this might seem to work (or not) in a stable way. But 
with parallel start, you get race conditions.

Reply via email to