On 14/12/2016 16:23, Christopher Schultz wrote: > Mark, > > On 12/8/16 4:19 AM, Mark Thomas wrote: >> On 07/12/2016 15:21, Christopher Schultz wrote: >>> >>> Hmm... there is the "startStopThreads" setting on the Engine, >>> but unfortunately there is not (currently available) setting that >>> says "don't use multiple threads at all". It looks like Tomcat is >>> always going to use at least one (separate) thread to launch the >>> various Hosts (and webapps). > >> It wouldn't be too hard to change that to not use an executor if >> the default of startStopThreads="1" was being used. > > +1 to running start on the main thread if startStopThreads="1". > > Where would I look to start working on a proposed patch? The Tomcat > Lifecycle isn't my strong suit.
ContainerBase. Look for uses of startStopThreads.# >> However... > > Even if this doesn't solve John's problem, I think it's worth doing. > > Comments? No objections. I'd thought about it previously but it wasn't an itch I felt the urge to scratch. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org