On Wed, Dec 14, 2016 at 11:23 AM Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > 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. > > > However... > > Even if this doesn't solve John's problem, I think it's worth doing. > Having an option to startStop on the main thread would fix my issue. However would that be when startStopThreads = 1 or some other parameter (to not break compatibility) ? John > > Comments? > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJYUXIcAAoJEBzwKT+lPKRYuWsQAMhrAt3mFLGio4u16ZABWLyG > vPwlNRH24l9AnXu2yJ2FALS0ydIB8RTKW7BlwsdrlVAINQ8I0tWXFY4cn7jnMox3 > GLyg0ABmSIYqO/Qxqd4YIILBWWycNmvWn8BBgfLvqJaVDO/VB8vrsGClBnVbuqh8 > UetcFoCuIjXWpSQFBI7NhPouE4C145eMrmSmbz0Go7jtBPEfib5dgF26QepfX56M > +ds8CDJc9OLusGSCvNgzYu7HXo3fBAFr52LoykQn6IqJbfv0PduiX8ySbLceBXpa > VGlD9Fb9P/08wgANgBs7cbgkmxaEU/PnpXB/B5Mx8QbBV08Ajch3Rxedc2ikqMgi > GP0n8xYzk0GaeEl8VSEwIQCbkib8kz4cR8s+nsiDwcq1WkFrIUqqr0UapN3dyRAS > ySlfFyYN+Wbhe37lRjjQrMDsVcS8mX7t9ELKYRQ3difkmKeeme6D60tyNX/gEUPp > NqHFeOknpgNw/Orj3KM6v1b9BAeRstFelx+kAffrc0G9Gz9GG8+BY7ThBvdfrSZO > wp/ufXhmyVta57qVmmpwR7ua3b5npbCvgkIos6GTu2dKRMqRj2pBPBA3f9HyT82S > 1IsYM72RhCTimrmskIb2/G6okRNa1aft5f3iypwsG6J1+ZLxgYROZVWfTbdA9WRS > 2/n3/Gtg2yi9GhED0luy > =FbNM > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >